mirror of https://github.com/opa334/TrollStore.git
Fix issue in entitlement checking
This commit is contained in:
parent
a56bf738bd
commit
afb45b110e
|
@ -625,9 +625,8 @@ int signApp(NSString* appPath)
|
|||
@"com.apple.private.cs.debugger"
|
||||
]) {
|
||||
NSObject *restrictedEntitlement = entitlementsToUse[restrictedEntitlementKey];
|
||||
if (restrictedEntitlement && [restrictedEntitlement isKindOfClass:[NSNumber class]]) {
|
||||
requiresDevMode |= [(NSNumber *)restrictedEntitlement boolValue];
|
||||
break;
|
||||
if (restrictedEntitlement && [restrictedEntitlement isKindOfClass:[NSNumber class]] && [(NSNumber *)restrictedEntitlement boolValue]) {
|
||||
requiresDevMode = YES;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue