From ff988aa4460632a06161ee3b43d6a802be89b375 Mon Sep 17 00:00:00 2001 From: shenmo Date: Fri, 2 Sep 2022 14:02:41 +0800 Subject: [PATCH] single --- main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 762e1ce..421dc2b 100644 --- a/main.js +++ b/main.js @@ -479,12 +479,12 @@ function createMenu() { } const shouldQuit = app.makeSingleInstance(() => { if (mainWindow) { - if (mainWindow.isMinimized()) mainWindow.restore() - mainWindow.focus() + if (mainWindow.isMinimized()) mainWindow.restore(); + mainWindow.focus(); } }) -shouldQuit && app.quit() +shouldQuit && app.quit(); const createMainWindow = () => { var mainWindowState = windowStateKeeper({ defaultWidth: 745,