diff --git a/src/background.js b/src/background.js index e1bf182..dcf899f 100644 --- a/src/background.js +++ b/src/background.js @@ -50,6 +50,7 @@ function createMini () { resizable: true, webPreferences: { webSecurity: false, + enableRemoteModule: true, nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION } })