Revert Linux GTK version workaround

This commit is contained in:
ayumi-signal
2025-10-06 10:02:21 -07:00
committed by GitHub
parent bc8fba61ea
commit 2af0795347
3 changed files with 1 additions and 17 deletions

View File

@@ -2004,11 +2004,6 @@ const featuresToDisable = `HardwareMediaKeyHandling,${app.commandLine.getSwitchV
)}`;
app.commandLine.appendSwitch('disable-features', featuresToDisable);
if (OS.isLinux()) {
// https://github.com/electron/electron/issues/46538#issuecomment-2808806722
app.commandLine.appendSwitch('gtk-version', '3');
}
// This has to run before the 'ready' event.
electronProtocol.registerSchemesAsPrivileged([
{