aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorChristoph Settgast <csett86_git@quicksands.de>2023-11-11 18:40:49 +0100
committerGitHub <noreply@github.com>2023-11-11 18:40:49 +0100
commit9dcb0953cb6d72ad6c1d8320744e1ae816cd4ddd (patch)
tree41837984b8bbb751b853b9b683ddae9a38edbcc7 /main.js
parent1aa2abc8970a951bc9194bcd882901ab9cb90d66 (diff)
chore(deps) update electron to 27.0.3 (#921)
Contains electron 26 and 27 updates, for details see https://www.electronjs.org/blog/electron-26-0 https://www.electronjs.org/blog/electron-27-0 Contains a fix for Linux that lead to crashes when the graphics drivers changed https://github.com/electron/electron/pull/40467 Mainly this should help with further bugfixes in webrtc as the contained Chromium is implicitly upgraded from 114 to 118. In wayland / pipewire terms we have only minor additions, eg: WaylandWindowDecorations by default: https://github.com/electron/electron/pull/39582 which means we can remove the enable flag we had on this in main.js as its now default.
Diffstat (limited to 'main.js')
-rw-r--r--main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.js b/main.js
index 0bc659c..194ea5a 100644
--- a/main.js
+++ b/main.js
@@ -40,9 +40,9 @@ app.commandLine.appendSwitch('disable-features', 'DesktopCaptureMacV2,IOSurfaceC
// Enable Opus RED field trial.
app.commandLine.appendSwitch('force-fieldtrials', 'WebRTC-Audio-Red-For-Opus/Enabled/');
-// Wayland: Enable optional PipeWire and window decorations support.
+// Wayland: Enable optional PipeWire support.
if (!app.commandLine.hasSwitch('enable-features')) {
- app.commandLine.appendSwitch('enable-features', 'WebRTCPipeWireCapturer,WaylandWindowDecorations');
+ app.commandLine.appendSwitch('enable-features', 'WebRTCPipeWireCapturer');
}
autoUpdater.logger = require('electron-log');