From d1bccb7a60c13e8551c9e10ee55c4cd0f73116da Mon Sep 17 00:00:00 2001 From: Tod Kurt Date: Wed, 3 Nov 2021 11:31:15 -0700 Subject: [PATCH] update electron from 8.3.4 to 12.2.2 to Lets Encrypt X3 DST cert --- app/main.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/main.js b/app/main.js index 00189cd..73ceabe 100644 --- a/app/main.js +++ b/app/main.js @@ -121,7 +121,7 @@ var openAboutWindow = function () { autoHideMenuBar: true, height: 375, width: 500, - webPreferences: { nodeIntegration: true } + webPreferences: { nodeIntegration: true, contextIsolation: false, enableRemoteModule: true } }); aboutWindow.webContents.on('new-window', function(e,url) { handleUrl(e,url); } ); aboutWindow.webContents.on('will-navigate', function(e,url) { handleUrl(e,url); } ); @@ -242,6 +242,8 @@ app.on('ready', function () { show: false, // show later based on config webPreferences: { nodeIntegration: true, + contextIsolation: false, + enableRemoteModule: true, backgroundThrottling: false } }); diff --git a/package.json b/package.json index a519f8a..42f8311 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "cross-env": "^5.0.5", "css-loader": "^2.1.1", "devtron": "^1.4.0", - "electron": "^8.3.4", + "electron": "^12.2.2", "electron-builder": "^22.7.0", "electron-notarize": "^1.0.0", "file-loader": "^3.0.1",