1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

Implement workaround for breaking change in electron 36 (#15189)

This commit is contained in:
Justin Baur
2025-06-13 15:16:47 -04:00
committed by GitHub
parent f76e80f3cd
commit 50051e57a7

View File

@@ -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...
});