mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-21 16:38:41 -06:00
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:
parent
2d400b2775
commit
dd0e7af850
@ -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();
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user