mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 16:26:31 +01:00
focus existing window on port conflict, closes #3036
This commit is contained in:
@@ -29,7 +29,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