aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop/main.js
diff options
context:
space:
mode:
authorDevine Lu Linvega <[email protected]>2019-04-25 07:02:20 +0900
committerDevine Lu Linvega <[email protected]>2019-04-25 07:02:20 +0900
commit1bae16c87dd44594ff39360f31b34419e9e0ee7f (patch)
tree91bc94f227e312645fc915cc38246242fd8be11a /desktop/main.js
parentde560479839220e881b84086bafafee06f677750 (diff)
downloadOrca-1bae16c87dd44594ff39360f31b34419e9e0ee7f.tar.gz
Orca-1bae16c87dd44594ff39360f31b34419e9e0ee7f.zip
Updated to Electron 5
Diffstat (limited to 'desktop/main.js')
-rw-r--r--desktop/main.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/main.js b/desktop/main.js
index 0eb0545..157729c 100644
--- a/desktop/main.js
+++ b/desktop/main.js
@@ -19,8 +19,7 @@ app.on('ready', () => {
frame: process.platform !== 'darwin',
skipTaskbar: process.platform === 'darwin',
autoHideMenuBar: process.platform === 'darwin',
- webPreferences: { zoomFactor: 1.0 },
- webPreferences: { backgroundThrottling: false }
+ webPreferences: { zoomFactor: 1.0, nodeIntegration: true, backgroundThrottling: false }
})
app.win.loadURL(`file://${__dirname}/sources/index.html`)