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:
@@ -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...
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user