diff --git a/app/app.js b/app/app.js index e9b56f12..3240717a 100644 --- a/app/app.js +++ b/app/app.js @@ -97,7 +97,10 @@ function createWindow() { frame: !store.get('drawCustomTitleBar'), width: 1124, height: 800, - icon: path.join(__dirname, '/icons/png/64x64.png') + icon: path.join(__dirname, '/icons/png/64x64.png'), + webPreferences: { + nodeIntegration: true + } }) // Make a context menu