diff --git a/index.js b/index.js index 3b2fb38..15fac30 100644 --- a/index.js +++ b/index.js @@ -18,6 +18,7 @@ const createHiddenWindow = (filePath, debug) => { // https://github.com/electron/electron/issues/17241. webPreferences: { nodeIntegration: true, + contextIsolation: false }, // This is extremely useful when something with the IPC goes // wrong.