Skip to content
This repository was archived by the owner on Sep 28, 2023. It is now read-only.

Commit 6973c46

Browse files
authored
Maximize window on startup when not in development (#532)
1 parent 693f5b1 commit 6973c46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/background.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ async function createWindow () {
7777
}
7878
})
7979

80+
// Maximize window on startup when not in development
81+
if(!isDevelopment) win.maximize()
82+
8083
i18nextBackend.mainBindings(ipcMain, win, fs)
8184

8285
ElectronBlocker.fromPrebuiltAdsAndTracking(fetch).then((blocker) => {

0 commit comments

Comments
 (0)