Skip to content

Commit 14f7cd0

Browse files
authored
feat: launch minimized (#1193)
feat: ensure app is launched minimized
1 parent 312edaa commit 14f7cd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ const mb = menubar({
4343
mb.on('ready', () => {
4444
mb.app.setAppUserModelId('com.electron.gitify');
4545
mb.tray.setIgnoreDoubleClickEvents(true);
46+
47+
mb.hideWindow();
48+
4649
// Force the window to retrieve its previous zoom factor
4750
mb.window.webContents.setZoomFactor(mb.window.webContents.getZoomFactor());
4851

0 commit comments

Comments
 (0)