From 4c2cdd9499a90bf6c21249c6f3130f32d48b313c Mon Sep 17 00:00:00 2001 From: shenmo Date: Fri, 2 Sep 2022 14:08:16 +0800 Subject: [PATCH] single --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 421dc2b..a3293db 100644 --- a/main.js +++ b/main.js @@ -482,9 +482,9 @@ const shouldQuit = app.makeSingleInstance(() => { if (mainWindow.isMinimized()) mainWindow.restore(); mainWindow.focus(); } -}) - +}); shouldQuit && app.quit(); + const createMainWindow = () => { var mainWindowState = windowStateKeeper({ defaultWidth: 745,