From 10d768a7d01ea9cbfd5b5c85f1d3664084a915b7 Mon Sep 17 00:00:00 2001 From: Christoph Settgast Date: Sat, 4 Nov 2023 18:45:25 +0100 Subject: [PATCH] chore(deps) update electron to 27.0.3 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 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. --- main.js | 4 ++-- package-lock.json | 14 +++++++------- package.json | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/main.js b/main.js index 0bc659ca2..194ea5a6d 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'); diff --git a/package-lock.json b/package-lock.json index db2e0ff77..a1aa5c167 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "babel-loader": "^8.2.3", "concurrently": "5.1.0", "css-loader": "^6.7.1", - "electron": "25.8.4", + "electron": "27.0.3", "electron-builder": "24.4.0", "electron-context-menu": "^2.5.0", "electron-is-dev": "^1.2.0", @@ -6965,9 +6965,9 @@ } }, "node_modules/electron": { - "version": "25.8.4", - "resolved": "https://registry.npmjs.org/electron/-/electron-25.8.4.tgz", - "integrity": "sha512-hUYS3RGdaa6E1UWnzeGnsdsBYOggwMMg4WGxNGvAoWtmRrr6J1BsjFW/yRq4WsJHJce2HdzQXtz4OGXV6yUCLg==", + "version": "27.0.3", + "resolved": "https://registry.npmjs.org/electron/-/electron-27.0.3.tgz", + "integrity": "sha512-VaB9cI1se+mUtz366NP+zxFVnkHLbCBNO4wwouw3FuGyX/m7/Bv1I89JhWOBv78tC+n11ZYMrVD23Jf6EZgVcg==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -21323,9 +21323,9 @@ } }, "electron": { - "version": "25.8.4", - "resolved": "https://registry.npmjs.org/electron/-/electron-25.8.4.tgz", - "integrity": "sha512-hUYS3RGdaa6E1UWnzeGnsdsBYOggwMMg4WGxNGvAoWtmRrr6J1BsjFW/yRq4WsJHJce2HdzQXtz4OGXV6yUCLg==", + "version": "27.0.3", + "resolved": "https://registry.npmjs.org/electron/-/electron-27.0.3.tgz", + "integrity": "sha512-VaB9cI1se+mUtz366NP+zxFVnkHLbCBNO4wwouw3FuGyX/m7/Bv1I89JhWOBv78tC+n11ZYMrVD23Jf6EZgVcg==", "dev": true, "requires": { "@electron/get": "^2.0.0", diff --git a/package.json b/package.json index 7bc34adb6..1781438be 100644 --- a/package.json +++ b/package.json @@ -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.3", "electron-builder": "24.4.0", "electron-context-menu": "^2.5.0", "electron-is-dev": "^1.2.0",