Skip to content

Commit

Permalink
make this work with Electron 12
Browse files Browse the repository at this point in the history
  • Loading branch information
rooklift committed Apr 19, 2021
1 parent b96ce17 commit d699c8e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ exports.new = (token, params = {}) => { // token is an internal name for us to
resizable: params.resizable,
webPreferences: {
zoomFactor: zoom_factor,
nodeIntegration: true
nodeIntegration: true,
contextIsolation: false
}
});

Expand Down
13 changes: 13 additions & 0 deletions package-lock.json

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

0 comments on commit d699c8e

Please sign in to comment.