diff options
author | Hristo Terezov <hristo@jitsi.org> | 2019-10-02 08:20:43 +0100 |
---|---|---|
committer | Hristo Terezov <hristo@jitsi.org> | 2019-10-03 09:13:20 -0700 |
commit | 061fbf9f8857f35b9b3e1fbc28b104a149114d27 (patch) | |
tree | 71320505a65158298041f598e9d77050c5fb522f /main.js | |
parent | 930797f7d6927d222ab9cbb8cfd496559d5d92c0 (diff) |
fix: Electron 5 support.
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -18,6 +18,9 @@ const { const path = require('path'); const URL = require('url'); +// We need this because of https://github.com/electron/electron/issues/18214 +app.commandLine.appendSwitch('disable-site-isolation-trials'); + autoUpdater.logger = require('electron-log'); autoUpdater.logger.transports.file.level = 'info'; @@ -134,7 +137,8 @@ function createJitsiMeetWindow() { minHeight: 600, show: false, webPreferences: { - nativeWindowOpen: true + nativeWindowOpen: true, + nodeIntegration: true } }; |