Update to Electron 5

This commit is contained in:
Feross Aboukhadijeh
2019-08-07 09:51:08 -07:00
parent 7a3c1f0a10
commit 6cd8af91be
5 changed files with 13 additions and 4 deletions

View File

@@ -43,6 +43,9 @@ function init (state, options) {
titleBarStyle: 'hiddenInset', // Hide title bar (Mac)
useContentSize: true, // Specify web page size without OS chrome
width: initialBounds.width,
webPreferences: {
nodeIntegration: true
},
x: initialBounds.x,
y: initialBounds.y
})