This commit is contained in:
zh
2025-09-26 11:37:44 +08:00
parent 8a2c0b42ef
commit 59eae55426
15 changed files with 506 additions and 62 deletions

View File

@ -113,6 +113,10 @@ function createWindow(): void {
allowRunningInsecureContent: true
}
})
ipcMain.on("restart", () => {
app.relaunch();
forceQuit();
});
// 监听启动页完成的消息
ipcMain.on('splash-completed', () => {
// 启动页进度条已完成,可以关闭启动页并显示主窗口