Skip to content

Commit

Permalink
See #423 (#424)
Browse files Browse the repository at this point in the history
Co-authored-by: hloth <[email protected]>
  • Loading branch information
VityaSchel and hloth authored Nov 7, 2023
1 parent 3383ac4 commit 76ec51a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
Expand Down

0 comments on commit 76ec51a

Please sign in to comment.