mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Add workaround to fix Linux GTK version for electron
This commit is contained in:
@@ -1986,6 +1986,11 @@ 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');
|
||||
}
|
||||
|
||||
// <canvas/> rendering is often utterly broken on Linux when using GPU
|
||||
// acceleration.
|
||||
if (DISABLE_GPU) {
|
||||
|
||||
Reference in New Issue
Block a user