Update to Electron 12

This commit is contained in:
Geomitron
2021-04-09 18:44:38 -05:00
parent 903c86edf3
commit d88962a07e
3 changed files with 25017 additions and 87 deletions

25095
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -26,7 +26,6 @@
"release": "ng build -c production && tsc -p tsconfig.electron.json && electron-builder build"
},
"dependencies": {
"7zip-bin": "^5.0.3",
"@angular/animations": "~11.1.1",
"@angular/common": "~11.1.1",
"@angular/compiler": "~11.1.1",
@@ -35,6 +34,7 @@
"@angular/platform-browser": "~11.1.1",
"@angular/platform-browser-dynamic": "~11.1.1",
"@angular/router": "~11.1.1",
"7zip-bin": "^5.0.3",
"bottleneck": "^2.19.5",
"cli-color": "^2.0.0",
"comparators": "^3.0.2",
@@ -68,13 +68,13 @@
"@types/jsonfile": "^6.0.0",
"@types/mv": "^2.1.0",
"@types/needle": "^2.0.4",
"@types/node": "^12.11.1",
"@types/node": "^14.14.37",
"@types/randombytes": "^2.0.0",
"@types/rimraf": "^3.0.0",
"@types/underscore": "^1.9.4",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"electron": "^11.2.1",
"electron": "^12.0.2",
"electron-builder": "^22.3.2",
"electron-reload": "^1.5.0",
"eslint": "^6.8.0",

View File

@@ -111,7 +111,8 @@ function createBrowserWindow(windowState: windowStateKeeper.State) {
nodeIntegration: true,
allowRunningInsecureContent: (isDevBuild) ? true : false,
textAreasAreResizable: false,
enableRemoteModule: true
enableRemoteModule: true,
contextIsolation: false
},
simpleFullscreen: true,
fullscreenable: false,