mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
allow disabling hardware acceleration with env var (#14768)
This commit is contained in:
@@ -394,7 +394,7 @@ export class Main {
|
||||
this.desktopSettingsService.hardwareAcceleration$,
|
||||
);
|
||||
|
||||
if (!hardwareAcceleration) {
|
||||
if (!hardwareAcceleration || process.env.ELECTRON_DISABLE_GPU) {
|
||||
this.logService.warning("Hardware acceleration is disabled");
|
||||
app.disableHardwareAcceleration();
|
||||
} else if (isMacAppStore()) {
|
||||
|
||||
Reference in New Issue
Block a user