From 037223d471a69c3a5a517aa157c75e89b525471f Mon Sep 17 00:00:00 2001 From: Sam Wray Date: Sat, 26 Mar 2022 21:57:38 +0000 Subject: [PATCH] fix(color-picker): sets contextIsolation to false (#715) fixes #714 --- src/background/window-prefs.js | 1 + 1 file changed, 1 insertion(+) 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