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"
|
@"com.apple.private.cs.debugger"
|
||||||
]) {
|
]) {
|
||||||
NSObject *restrictedEntitlement = entitlementsToUse[restrictedEntitlementKey];
|
NSObject *restrictedEntitlement = entitlementsToUse[restrictedEntitlementKey];
|
||||||
if (restrictedEntitlement && [restrictedEntitlement isKindOfClass:[NSNumber class]]) {
|
if (restrictedEntitlement && [restrictedEntitlement isKindOfClass:[NSNumber class]] && [(NSNumber *)restrictedEntitlement boolValue]) {
|
||||||
requiresDevMode |= [(NSNumber *)restrictedEntitlement boolValue];
|
requiresDevMode = YES;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue