From 1240eb83eca64e256349244915b7b9f127ff1954 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 20 Oct 2025 14:50:32 +0100 Subject: [PATCH] Remove GTK workaround (#2651) --- src/electron-main.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/electron-main.ts b/src/electron-main.ts index 744331937b..db0c8cceaf 100644 --- a/src/electron-main.ts +++ b/src/electron-main.ts @@ -291,11 +291,6 @@ app.commandLine.appendSwitch("--enable-usermedia-screen-capturing"); if (!app.commandLine.hasSwitch("enable-features")) { app.commandLine.appendSwitch("enable-features", "WebRTCPipeWireCapturer"); } -// Workaround bug in electron 36:https://github.com/electron/electron/issues/46538 -// Hopefully this will no longer be needed soon and can be removed -if (process.platform === "linux") { - app.commandLine.appendSwitch("gtk-version", "3"); -} const gotLock = app.requestSingleInstanceLock(); if (!gotLock) {