diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts index 20c632ec4ac..5e0ea7f9fac 100644 --- a/apps/desktop/src/main.ts +++ b/apps/desktop/src/main.ts @@ -96,6 +96,11 @@ export class Main { appDataPath = path.join(process.env.SNAP_USER_DATA, "appdata"); } + // Workaround for bug described here: https://github.com/electron/electron/issues/46538 + if (process.platform === "linux") { + app.commandLine.appendSwitch("gtk-version", "3"); + } + app.on("ready", () => { // on ready stuff... });