We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8401b90 commit cb903c2Copy full SHA for cb903c2
packages/shell-electron/app.js
@@ -11,7 +11,10 @@ function createWindow () {
11
mainWindow = new BrowserWindow({
12
width: 800,
13
height: 600,
14
- icon: path.join(__dirname, 'icons/128.png')
+ icon: path.join(__dirname, 'icons/128.png'),
15
+ webPreferences: {
16
+ nodeIntegration: true
17
+ }
18
})
19
20
mainWindow.loadURL(url.format({
packages/shell-electron/package.json
@@ -24,7 +24,7 @@
24
},
25
"dependencies": {
26
"cross-spawn": "^5.1.0",
27
- "electron": "1.7.16",
+ "electron": "^7.0.0",
28
"express": "^4.16.2",
29
"ip": "^1.1.5",
30
"socket.io": "^2.0.4"
0 commit comments