focus existing window on port conflict, closes #3036

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

View File

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