Skip to content

Commit

Permalink
[PM-7048] Disable relaunch on MAS (#8466)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Mar 25, 2024
1 parent bc9a888 commit 8639f49
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/desktop/src/main/menu/menu.help.ts
Expand Up @@ -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();
},
},
Expand Down

0 comments on commit 8639f49

Please sign in to comment.