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