mirror of
				https://github.com/opa334/TrollStore.git
				synced 2025-11-04 15:42:35 +08:00 
			
		
		
		
	Merge pull request #27 from itsnebulalol/patch-1
Use -s to keep entitlements when they're present
This commit is contained in:
		
						commit
						990ad15074
					
				@ -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);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user