mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
focus existing window on port conflict, closes #3036
This commit is contained in:
@@ -30,7 +30,7 @@ app.on('ready', async () => {
|
||||
if (await sqlInit.isDbInitialized()) {
|
||||
await sqlInit.dbReady;
|
||||
|
||||
await windowService.createMainWindow();
|
||||
await windowService.createMainWindow(app);
|
||||
|
||||
tray.createTray();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user