Skip to content

Commit

Permalink
Hide dock icon on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
SRichner committed Feb 23, 2024
1 parent 0503f59 commit 5647180
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/electron/electron/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ if (!app.requestSingleInstanceLock()) {
process.exit(0);
}

if (process.platform === 'darwin') {
app.dock.hide();
}

// Optional, initialize the logger for any renderer process
log.initialize();
const LOG = getLogger('Main');
Expand Down

0 comments on commit 5647180

Please sign in to comment.