Skip to content

Commit

Permalink
feat: launch minimized (#1193)
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy committed Jun 7, 2024
1 parent 51cb55e commit 73ccfc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ const mb = menubar({
mb.on('ready', () => {
mb.app.setAppUserModelId('com.electron.gitify');
mb.tray.setIgnoreDoubleClickEvents(true);

mb.hideWindow();

// Force the window to retrieve its previous zoom factor
mb.window.webContents.setZoomFactor(mb.window.webContents.getZoomFactor());

Expand Down

0 comments on commit 73ccfc4

Please sign in to comment.