focus existing window on port conflict, closes #3036

This commit is contained in:
zadam
2022-08-02 22:53:06 +02:00
parent 563808144e
commit f161488c13
3 changed files with 29 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ app.on('ready', async () => {
if (await sqlInit.isDbInitialized()) {
await sqlInit.dbReady;
await windowService.createMainWindow();
await windowService.createMainWindow(app);
tray.createTray();
}