Merge pull request #27 from itsnebulalol/patch-1

Use -s to keep entitlements when they're present
This commit is contained in:
Lars Fröder 2022-09-04 00:51:07 +02:00 committed by GitHub
commit 990ad15074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ BOOL signApp(NSString* appPath, NSError** error)
else else
{ {
// app has entitlements, keep them // app has entitlements, keep them
ldidRet = runLdid(@[@"-S", @"-M", certArg, appPath], nil, &errorOutput); ldidRet = runLdid(@[@"-s", certArg, appPath], nil, &errorOutput);
} }
NSLog(@"ldid exited with status %d", ldidRet); NSLog(@"ldid exited with status %d", ldidRet);