Update to Electron 5
This commit is contained in:
6
package-lock.json
generated
6
package-lock.json
generated
@@ -2614,9 +2614,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"electron": {
|
"electron": {
|
||||||
"version": "4.2.8",
|
"version": "5.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/electron/-/electron-4.2.8.tgz",
|
"resolved": "https://registry.npmjs.org/electron/-/electron-5.0.9.tgz",
|
||||||
"integrity": "sha512-/D9zfs+EWLN4yLV7tu2kWyXUnZQ3CKG1cmWbXeSFXF+0dNXQ8iFpY49dqZRoHGIBImFfp2x4N3Zc5Tu7rw3PJw==",
|
"integrity": "sha512-yCt+lnQr47OWB3Oei19odMVB8VKzecTwZLm75PB56f/keeJAM3UqV7+dtjKlPdKt0hJ4sWxe4vjxGPO/oZDv7A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@types/node": "^10.12.18",
|
"@types/node": "^10.12.18",
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
"buble": "^0.19.6",
|
"buble": "^0.19.6",
|
||||||
"cross-zip": "^2.0.1",
|
"cross-zip": "^2.0.1",
|
||||||
"depcheck": "^0.8.0",
|
"depcheck": "^0.8.0",
|
||||||
"electron": "^4.0.0",
|
"electron": "~5.0.9",
|
||||||
"electron-osx-sign": "^0.4.11",
|
"electron-osx-sign": "^0.4.11",
|
||||||
"electron-packager": "^14.0.4",
|
"electron-packager": "^14.0.4",
|
||||||
"electron-winstaller": "^2.6.4",
|
"electron-winstaller": "^2.6.4",
|
||||||
|
|||||||
@@ -24,6 +24,9 @@ function init () {
|
|||||||
skipTaskbar: true,
|
skipTaskbar: true,
|
||||||
title: 'About ' + config.APP_WINDOW_TITLE,
|
title: 'About ' + config.APP_WINDOW_TITLE,
|
||||||
useContentSize: true,
|
useContentSize: true,
|
||||||
|
webPreferences: {
|
||||||
|
nodeIntegration: true
|
||||||
|
},
|
||||||
width: 300
|
width: 300
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,9 @@ function init (state, options) {
|
|||||||
titleBarStyle: 'hiddenInset', // Hide title bar (Mac)
|
titleBarStyle: 'hiddenInset', // Hide title bar (Mac)
|
||||||
useContentSize: true, // Specify web page size without OS chrome
|
useContentSize: true, // Specify web page size without OS chrome
|
||||||
width: initialBounds.width,
|
width: initialBounds.width,
|
||||||
|
webPreferences: {
|
||||||
|
nodeIntegration: true
|
||||||
|
},
|
||||||
x: initialBounds.x,
|
x: initialBounds.x,
|
||||||
y: initialBounds.y
|
y: initialBounds.y
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -25,6 +25,9 @@ function init () {
|
|||||||
skipTaskbar: true,
|
skipTaskbar: true,
|
||||||
title: 'webtorrent-hidden-window',
|
title: 'webtorrent-hidden-window',
|
||||||
useContentSize: true,
|
useContentSize: true,
|
||||||
|
webPreferences: {
|
||||||
|
nodeIntegration: true
|
||||||
|
},
|
||||||
width: 150
|
width: 150
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user