diff options
author | Saúl Ibarra Corretgé <s@saghul.net> | 2020-05-20 10:12:56 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <s@saghul.net> | 2020-05-20 21:21:54 +0200 |
commit | 1f789ec4e700c146dd6bb8c0a7127b62bb9b27ba (patch) | |
tree | 7a992b052e7c54df15e89f2850a3ab28c614dc4a /main.js | |
parent | d2f49288f13bfd9590d7968909b096353e87231b (diff) |
Update to Electron 9 and enable E2EE
Electron 9 ships with Chrome 83 which means we have access to E2EE by
enabling experimental web platform features.
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -23,6 +23,9 @@ const config = require('./app/features/config'); // We need this because of https://github.com/electron/electron/issues/18214 app.commandLine.appendSwitch('disable-site-isolation-trials'); +// Needed until robot.js is fixed: https://github.com/octalmage/robotjs/issues/580 +app.allowRendererProcessReuse = false; + autoUpdater.logger = require('electron-log'); autoUpdater.logger.transports.file.level = 'info'; @@ -153,6 +156,7 @@ function createJitsiMeetWindow() { minHeight: 600, show: false, webPreferences: { + experimentalFeatures: true, // Insertable streams, for E2EE. nativeWindowOpen: true, nodeIntegration: false, preload: path.resolve(basePath, './build/preload.js') |