ELECTRON-1066, 1067: upgrade electron version (#567)

- upgrade electron framework version to address security vulnerability with native window open and node integration
- disable background throttling on requests when creating a new window
This commit is contained in:
Vishwas Shashidhar 2019-02-12 09:57:03 +05:30 committed by GitHub
parent 2d400b2775
commit dd0e7af850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -204,6 +204,7 @@ function doCreateMainWindow(initialUrl, initialBounds, isCustomTitleBar) {
sandbox: true,
nodeIntegration: false,
preload: preloadMainScript,
backgroundThrottling: false
}
};
@ -505,6 +506,7 @@ function doCreateMainWindow(initialUrl, initialBounds, isCustomTitleBar) {
newWinOptions.alwaysOnTop = alwaysOnTop;
newWinOptions.frame = true;
newWinOptions.parent = null;
newWinOptions.webPreferences.backgroundThrottling = false;
let newWinKey = getGuid();

View File

@ -1,7 +1,7 @@
{
"name": "Symphony",
"productName": "Symphony",
"version": "4.3.3",
"version": "4.4.0",
"clientVersion": "1.54",
"buildNumber": "0",
"description": "Symphony desktop app (Foundation ODP)",
@ -87,7 +87,7 @@
"browserify": "16.2.3",
"chromedriver": "2.45.0",
"cross-env": "5.2.0",
"electron": "4.0.2",
"electron": "4.0.4",
"electron-builder": "20.38.4",
"electron-builder-squirrel-windows": "20.38.3",
"electron-chromedriver": "4.0.0-beta.1",