Skip to content

Commit b901448

Browse files
author
pseudocode88
committed
Update electron window properties
1 parent 648dd0f commit b901448

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ const { app, BrowserWindow } = require('electron');
22

33
const createWindow = () => {
44
const win = new BrowserWindow({
5-
width: 440,
6-
height: 700,
5+
width: 500,
6+
height: 768,
7+
webPreferences: {
8+
nodeIntegration: true,
9+
contextIsolation: false
10+
}
711
})
812

913
win.resizable = false;

0 commit comments

Comments
 (0)