Skip to content

Commit

Permalink
Merge pull request #725 from vcync/next
Browse files Browse the repository at this point in the history
fix(color-picker): sets contextIsolation to false (#715)
  • Loading branch information
2xAA authored Mar 26, 2022
2 parents fe718b7 + 037223d commit d75a89e
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 d75a89e

Please sign in to comment.