From 7a383a13143ff5e9c00b74f9f6b3c2e026cb7b05 Mon Sep 17 00:00:00 2001 From: zadam Date: Sat, 20 Nov 2021 12:52:23 +0100 Subject: [PATCH] create tray only for main window, not setup window --- electron.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electron.js b/electron.js index e606dde9e..cc3f86646 100644 --- a/electron.js +++ b/electron.js @@ -31,13 +31,13 @@ app.on('ready', async () => { await sqlInit.dbReady; await windowService.createMainWindow(); + + tray.createTray(); } else { await windowService.createSetupWindow(); } - tray.createTray() - await windowService.registerGlobalShortcuts(); });