diff --git a/src/background.ts b/src/background.ts index b116ca6d..7b14ed17 100644 --- a/src/background.ts +++ b/src/background.ts @@ -134,6 +134,9 @@ if (gotTheLock) { event.preventDefault(); mainWindow.hide(); trayManager?.showMinimizeToTrayWarning(); + if (process.platform === 'darwin') { + app.dock.hide() + } } else { app.quit(); // If we don't explicitly call this, the webview and mainWindow get destroyed but background process still runs. }