diff --git a/src/electron/electron/main/index.ts b/src/electron/electron/main/index.ts index 9cc189ae..00bdee9e 100644 --- a/src/electron/electron/main/index.ts +++ b/src/electron/electron/main/index.ts @@ -64,9 +64,11 @@ const LOG = getMainLogger('Main'); app.whenReady().then(async () => { app.setAppUserModelId('ch.ifi.hasel.personal-analytics'); - app.setLoginItemSettings({ - openAtLogin: true - }); + if (!is.dev) { + app.setLoginItemSettings({ + openAtLogin: true + }); + } try { await databaseService.init();