electron/main/index.ts
@@ -67,7 +67,7 @@ fullscreen: true,// 开启默认全屏 kiosk: true, movable:false,// 关闭窗口移动 resizable: false, // 禁止调整窗口大小 // autoHideMenuBar:store.get('debug'), webPreferences: { preload: splash, @@ -167,7 +167,7 @@ // 获取发送通知的渲染进程窗口 const currentWin = getWindowByEvent(e); // 升级校验 checkUpdate(currentWin); // checkUpdate(currentWin); });