Mac: do not restart after crash

When the crash is due to a library load failure while starting, having
this turned on would result in an endless loop of crash-restarts.

Fixes: #9800

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Erik Verbruggen 2022-09-13 13:24:14 +02:00 committed by Camila Ayres
parent 1f046ccd5e
commit 74c7487314
No known key found for this signature in database
GPG Key ID: 7A4A6121E88E2AD4

View File

@ -131,7 +131,7 @@ static Result<void, QString> writeNewPlistFile(NSString *plistFile, NSString *fu
NSDictionary *plistTemplate = @{
@"Label" : QCoreApplication::organizationDomain().toNSString(),
@"KeepAlive" : @ {
@"Crashed" : @YES,
@"Crashed" : @NO,
@"SuccessfulExit" : @NO
},
@"Program" : fullPath,