[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(
|
await this.desktopSettingsService.setHardwareAcceleration(
|
||||||
!this.hardwareAccelerationEnabled,
|
!this.hardwareAccelerationEnabled,
|
||||||
);
|
);
|
||||||
|
// `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.relaunch();
|
||||||
|
}
|
||||||
app.exit();
|
app.exit();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue