mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 01:01:26 +08:00
create tray only for main window, not setup window
This commit is contained in:
parent
5290aab781
commit
7a383a1314
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue