mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 05:43:41 +00:00
[PM-7048] Disable relaunch on MAS (#8466)
This commit is contained in:
@@ -240,7 +240,11 @@ export class HelpMenu implements IMenubarMenu {
|
|||||||
await this.desktopSettingsService.setHardwareAcceleration(
|
await this.desktopSettingsService.setHardwareAcceleration(
|
||||||
!this.hardwareAccelerationEnabled,
|
!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();
|
app.exit();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user