create tray only for main window, not setup window

This commit is contained in:
zadam 2021-11-20 12:52:23 +01:00
parent 5290aab781
commit 7a383a1314

View file

@ -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();
});