mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
create tray only for main window, not setup window
This commit is contained in:
parent
5290aab781
commit
7a383a1314
@ -31,13 +31,13 @@ app.on('ready', async () => {
|
|||||||
await sqlInit.dbReady;
|
await sqlInit.dbReady;
|
||||||
|
|
||||||
await windowService.createMainWindow();
|
await windowService.createMainWindow();
|
||||||
|
|
||||||
|
tray.createTray();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
await windowService.createSetupWindow();
|
await windowService.createSetupWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
tray.createTray()
|
|
||||||
|
|
||||||
await windowService.registerGlobalShortcuts();
|
await windowService.registerGlobalShortcuts();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user