diff --git a/src/background/window-prefs.js b/src/background/window-prefs.js index b423525bd..6a7ac8ea0 100644 --- a/src/background/window-prefs.js +++ b/src/background/window-prefs.js @@ -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