Skip to content

Commit

Permalink
chore(deps) update electron to 27.0.3
Browse files Browse the repository at this point in the history
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
electron/electron#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: electron/electron#39582

which means we can remove the enable flag we had on this in main.js as its now
default.
  • Loading branch information
csett86 committed Nov 11, 2023
1 parent 1aa2abc commit c6d1427
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
"babel-loader": "^8.2.3",
"concurrently": "5.1.0",
"css-loader": "^6.7.1",
"electron": "25.8.4",
"electron": "27.0.4",
"electron-builder": "24.4.0",
"electron-context-menu": "^2.5.0",
"electron-is-dev": "^1.2.0",
Expand Down

0 comments on commit c6d1427

Please sign in to comment.