aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.js b/main.js
index 40e1277..dada423 100644
--- a/main.js
+++ b/main.js
@@ -11,7 +11,10 @@ function createWindow () {
frame: false,
// transparent: true,
vibrancy: 'dark',
- titleBarStyle: 'hidden'
+ titleBarStyle: 'hidden',
+ webPreferences: {
+ nodeIntegration: true
+ }
})
// and load the index.html of the app.