Skip to content

Commit be55cb3

Browse files
committed
test and get it working
1 parent db2fc37 commit be55cb3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: src/main.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ function main() {
1414
routes.init()
1515

1616
// Create main window
17-
let win = new BrowserWindow({width: 800, height: 600})
17+
let win = new BrowserWindow({
18+
width: 800,
19+
height: 600,
20+
webPreferences: {
21+
nodeIntegration: true
22+
}
23+
})
1824
Menu.setApplicationMenu(menu)
1925
win.loadFile('src/client/index.html')
2026
}

0 commit comments

Comments
 (0)