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

[PM-7048] Disable relaunch on MAS (#8466)

This commit is contained in:
Oscar Hinton
2024-03-25 15:22:04 +01:00
committed by GitHub
parent bc9a888116
commit 8639f494f3

View File

@@ -240,7 +240,11 @@ export class HelpMenu implements IMenubarMenu {
await this.desktopSettingsService.setHardwareAcceleration(
!this.hardwareAccelerationEnabled,
);
app.relaunch();
// `app.relaunch` crashes the app on Mac Store builds. Disabling it for now.
// https://github.com/electron/electron/issues/41690
if (!isMacAppStore()) {
app.relaunch();
}
app.exit();
},
},