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
+1 -1
View File
@@ -357,7 +357,7 @@ BOOL signApp(NSString* appPath, NSError** error)
else
{
// 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);