diff --git a/main.js b/main.js index e904f850..16fa2e25 100644 --- a/main.js +++ b/main.js @@ -22,7 +22,10 @@ function initialize () { width: 1080, minWidth: 680, height: 840, - title: app.getName() + title: app.getName(), + webPreferences: { + nodeIntegration: true + } } if (process.platform === 'linux') {