Bump electron to v11

This commit is contained in:
Daniel Sanchez
2021-03-12 12:05:15 +01:00
parent 59fc34488a
commit ac12ef43a0
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -259,7 +259,7 @@
"cross-env": "^7.0.3",
"dotenv": "^8.2.0",
"dotenv-expand": "^5.1.0",
"electron": "^9.4.0",
"electron": "^11.3.0",
"electron-builder": "22.9.1",
"electron-notarize": "1.0.0",
"eslint": "^7.17.0",
+3 -1
View File
@@ -89,7 +89,9 @@ function createWindow(port = DEFAULT_PORT) {
height: 768,
webPreferences: {
preload: path.join(__dirname, '../scripts/preload.js'),
allowRunningInsecureContent: true,
experimentalFeatures: true,
nodeIntegration: true,
// allowRunningInsecureContent: true,
enableRemoteModule: true,
nativeWindowOpen: true, // need to be set in order to display modal
},
+4 -4
View File
@@ -8545,10 +8545,10 @@ electron-updater@4.3.5:
lodash.isequal "^4.5.0"
semver "^7.3.2"
electron@^9.4.0:
version "9.4.4"
resolved "https://registry.yarnpkg.com/electron/-/electron-9.4.4.tgz#2a74a0655a74bd326216672c5ae6ed3a44451446"
integrity sha512-dcPlTrMWQu5xuSm6sYV42KK/BRIqh3erM8v/WtZqaDmG7pkCeJpvw26Dgbqhdt78XmqqGiN96giEe6A3S9vpAQ==
electron@^11.3.0:
version "11.3.0"
resolved "https://registry.yarnpkg.com/electron/-/electron-11.3.0.tgz#87e8528fd23ae53b0eeb3a738f1fe0a3ad27c2db"
integrity sha512-MhdS0gok3wZBTscLBbYrOhLaQybCSAfkupazbK1dMP5c+84eVMxJE/QGohiWQkzs0tVFIJsAHyN19YKPbelNrQ==
dependencies:
"@electron/get" "^1.0.1"
"@types/node" "^12.0.12"