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

allow disabling hardware acceleration with env var (#14768)

This commit is contained in:
tangowithfoxtrot
2025-06-27 12:22:49 -07:00
committed by GitHub
parent 780ce6a762
commit 029713fe28

View File

@@ -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()) {