From 90d68492eb60d9e6fc80bb5e8874bfbb249f8efa Mon Sep 17 00:00:00 2001 From: shenmo Date: Fri, 2 Sep 2022 14:18:11 +0800 Subject: [PATCH] single --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index a3293db..50f93ff 100644 --- a/main.js +++ b/main.js @@ -480,6 +480,7 @@ function createMenu() { const shouldQuit = app.makeSingleInstance(() => { if (mainWindow) { if (mainWindow.isMinimized()) mainWindow.restore(); + mainWindow.show(); mainWindow.focus(); } });