diff options
author | Devine Lu Linvega <[email protected]> | 2019-04-25 07:02:20 +0900 |
---|---|---|
committer | Devine Lu Linvega <[email protected]> | 2019-04-25 07:02:20 +0900 |
commit | 1bae16c87dd44594ff39360f31b34419e9e0ee7f (patch) | |
tree | 91bc94f227e312645fc915cc38246242fd8be11a /desktop/main.js | |
parent | de560479839220e881b84086bafafee06f677750 (diff) | |
download | Orca-1bae16c87dd44594ff39360f31b34419e9e0ee7f.tar.gz Orca-1bae16c87dd44594ff39360f31b34419e9e0ee7f.zip |
Updated to Electron 5
Diffstat (limited to 'desktop/main.js')
-rw-r--r-- | desktop/main.js | 3 |
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`) |