diff --git a/main.js b/main.js index daf0fd315..6108de7b4 100644 --- a/main.js +++ b/main.js @@ -17,7 +17,11 @@ let mainWindow function createWindow () { // Create the browser window. - mainWindow = new BrowserWindow({width: 800, height: 600, webPreferences: {nodeIntegration: false}}) + mainWindow = new BrowserWindow({ + width: 800, + height: 600, + webPreferences: { nodeIntegration: false, sandbox: true } + }) // and load the index.html of the app. mainWindow.loadURL(url.format({