Skip to content

Commit

Permalink
#219: Upgrade electron to v5 and set nodeIntegration & webviewTag to …
Browse files Browse the repository at this point in the history
…true
  • Loading branch information
bstein committed Aug 15, 2022
1 parent f5d5f4b commit 1093cf6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions app/background.js
Expand Up @@ -40,6 +40,8 @@ app.on('ready', () => {
width: 1000,
height: 600,
webPreferences: {
nodeIntegration: true,
webviewTag: true,
webSecurity: false // Disable the same-origin policy when using http
}
});
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -11,7 +11,7 @@
"browser-sync-spa": "~1.0.3",
"chalk": "~1.1.1",
"del": "~2.2.0",
"electron": "~4.2.12",
"electron": "~5.0.13",
"eslint-plugin-angular": "~1.0.0",
"eslint-plugin-lodash": "~1.5.1",
"estraverse": "~4.2.0",
Expand Down

0 comments on commit 1093cf6

Please sign in to comment.