Merge branch 'zyl' of http://xny.yj-3d.com:3000/zhouyulong/electron-4 into zyl
This commit is contained in:
@ -254,6 +254,11 @@ function createWindow(): void {
|
||||
|
||||
event.sender.send("dirFiles", data);
|
||||
});
|
||||
ipcMain.on("restart", (e) => {
|
||||
closeChild();
|
||||
app.relaunch();
|
||||
app.exit();
|
||||
});
|
||||
|
||||
let _winMap = new Map();
|
||||
// 监听渲染进程创建新窗口的请求
|
||||
|
||||
Reference in New Issue
Block a user