summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/app.js b/app.js
index 04ab819..abd9194 100644
--- a/app.js
+++ b/app.js
@@ -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
}
});