[PM-7048] Disable relaunch on MAS (#8466)
This commit is contained in:
parent
bc9a888116
commit
8639f494f3
|
@ -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();
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue