diff options
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,5 @@ const setupEvents = require('./setupEvents') - + if (setupEvents.handleSquirrelEvent()) { // squirrel event handled and app will exit in 1000ms, so don't do anything else return; @@ -19,7 +19,9 @@ function createWindow() { width: 1280, height: 1024, webPreferences: { - nodeIntegration: true + nodeIntegration: true, + contextIsolation: false, + enableRemoteModule: true } }); |