aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorHristo Terezov <hristo@jitsi.org>2019-10-02 08:20:43 +0100
committerHristo Terezov <hristo@jitsi.org>2019-10-03 09:13:20 -0700
commit061fbf9f8857f35b9b3e1fbc28b104a149114d27 (patch)
tree71320505a65158298041f598e9d77050c5fb522f /main.js
parent930797f7d6927d222ab9cbb8cfd496559d5d92c0 (diff)
fix: Electron 5 support.
Diffstat (limited to 'main.js')
-rw-r--r--main.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.js b/main.js
index 53caf44..d6794bc 100644
--- a/main.js
+++ b/main.js
@@ -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
}
};