Remove GTK mixed symbols workaround
This bug is fixed in electron 37, so the workaround is no longer needed
This commit is contained in:
@@ -81,11 +81,6 @@ function init() {
|
|||||||
if (isLinux) {
|
if (isLinux) {
|
||||||
// Support TTS on Linux using https://wiki.archlinux.org/title/Speech_dispatcher
|
// Support TTS on Linux using https://wiki.archlinux.org/title/Speech_dispatcher
|
||||||
app.commandLine.appendSwitch("enable-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));
|
disabledFeatures.forEach(feat => enabledFeatures.delete(feat));
|
||||||
|
|||||||
Reference in New Issue
Block a user