aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
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
}
};