Skip to content

Commit

Permalink
fix(color-picker): sets contextIsolation to false
Browse files Browse the repository at this point in the history
fixes #714
  • Loading branch information
2xAA committed Mar 23, 2022
1 parent 34b4826 commit 178b6ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/background/window-prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const windowPrefs = {
prodPath: "colorPicker.html",
options: {
webPreferences: {
contextIsolation: false,
// Use pluginOptions.nodeIntegration, leave this alone
// See nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html#node-integration for more info
nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION
Expand Down

0 comments on commit 178b6ca

Please sign in to comment.