From 3278b1692323592dfbefd7e504920220251d3af0 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sun, 6 Jul 2025 19:15:59 +0200 Subject: [PATCH] Remove GTK mixed symbols workaround This bug is fixed in electron 37, so the workaround is no longer needed --- src/main/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/index.ts b/src/main/index.ts index 37fd471..f583113 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -81,11 +81,6 @@ function init() { if (isLinux) { // Support TTS on Linux using https://wiki.archlinux.org/title/Speech_dispatcher app.commandLine.appendSwitch("enable-speech-dispatcher"); - - // Work around Gtk-ERROR: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported - // https://github.com/electron/electron/issues/46538 - // TODO: Remove this when upstream fixes it - app.commandLine.appendSwitch("gtk-version", "3"); } disabledFeatures.forEach(feat => enabledFeatures.delete(feat));