Skip to content

Commit

Permalink
update electron from 8.3.4 to 12.2.2 to Lets Encrypt X3 DST cert
Browse files Browse the repository at this point in the history
  • Loading branch information
todbot committed Nov 3, 2021
1 parent cfa9a1e commit d1bccb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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); } );
Expand Down Expand Up @@ -242,6 +242,8 @@ app.on('ready', function () {
show: false, // show later based on config
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
enableRemoteModule: true,
backgroundThrottling: false
}
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d1bccb7

Please sign in to comment.