diff --git a/src/main/index.js b/src/main/index.js index ed2fa25..0129aa3 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -171,6 +171,7 @@ const createWindow = ({search = null, url = 'index.html', ...browserWindowOption useContentSize: true, show: false, webPreferences: { + contextIsolation: false, nodeIntegration: true }, ...browserWindowOptions