1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-26 09:33:22 +00:00

Electron gtk bug fixed, workaround is no longer needed. (#18520)

This commit is contained in:
Colton Hurst
2026-02-25 10:21:26 -05:00
committed by GitHub
parent b964cfc8e4
commit 385ba70b5c

View File

@@ -103,11 +103,6 @@ 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...
});