Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Commit d8bcd56

Browse files
committed
Set default width and height for browesr window
1 parent 8f51c69 commit d8bcd56

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ let mainWindow
1010

1111
function createMainWindow() {
1212
const windowOptions = {
13-
webPreferences: { nodeIntegration: true }
13+
webPreferences: { nodeIntegration: true },
14+
width: 1200,
15+
height: 800
1416
}
1517
if (process.platform === 'darwin') {
1618
windowOptions.titleBarStyle = 'hiddenInset'

0 commit comments

Comments
 (0)