linux build: add gtk version flag to fix incompatibility, fixes #430 (#436)

This commit is contained in:
Ilya Kreymer
2025-06-14 19:45:32 -04:00
committed by GitHub
parent 6ee91ad4d7
commit 05d117f374
+7
View File
@@ -104,6 +104,13 @@ class ElectronReplayApp {
console.log("app data", app.getPath("appData")); console.log("app data", app.getPath("appData"));
console.log("user data", app.getPath("userData")); console.log("user data", app.getPath("userData"));
// possible workaround for GTK issue on Linux
// https://github.com/webrecorder/replayweb.page/issues/430
// https://github.com/electron/electron/issues/46538#issuecomment-2808806722
if (process.env.APPIMAGE) {
app.commandLine.appendSwitch("--gtk-version", "3");
}
if (this.profileName) { if (this.profileName) {
app.setPath( app.setPath(
"userData", "userData",