This commit is contained in:
opa334 2022-10-30 20:37:28 +01:00
parent 6af771a251
commit 5e75501959
2 changed files with 8 additions and 6 deletions

View File

@ -859,7 +859,7 @@ extern UIImage* imageWithSize(UIImage* image, CGSize size);
} }
}]; }];
__block NSMutableSet* accessibleContainers = [NSMutableSet new]; __block NSMutableArray* accessibleContainers = [NSMutableArray new]; //array by design, should be ordered
if(!unrestrictedContainerAccess) if(!unrestrictedContainerAccess)
{ {
[self enumerateAllInfoDictionaries:^(NSString *key, NSObject *value, BOOL *stop) { [self enumerateAllInfoDictionaries:^(NSString *key, NSObject *value, BOOL *stop) {
@ -914,7 +914,7 @@ extern UIImage* imageWithSize(UIImage* image, CGSize size);
{ {
unrestrictedKeychainAccess = YES; unrestrictedKeychainAccess = YES;
} }
else if(![accessibleKeychainGroups containsObject:keychainID]) else
{ {
[accessibleKeychainGroups addObject:keychainID]; [accessibleKeychainGroups addObject:keychainID];
} }
@ -939,8 +939,6 @@ extern UIImage* imageWithSize(UIImage* image, CGSize size);
if(cURLSchemes && [cURLSchemes isKindOfClass:NSArray.class]) if(cURLSchemes && [cURLSchemes isKindOfClass:NSArray.class])
{ {
for(NSString* URLScheme in cURLSchemes) for(NSString* URLScheme in cURLSchemes)
{
if(![URLSchemes containsObject:URLScheme])
{ {
[URLSchemes addObject:URLScheme]; [URLSchemes addObject:URLScheme];
} }
@ -949,7 +947,6 @@ extern UIImage* imageWithSize(UIImage* image, CGSize size);
} }
} }
} }
}
}]; }];
__block NSMutableSet* allowedTccServices = [NSMutableSet new]; __block NSMutableSet* allowedTccServices = [NSMutableSet new];

View File

@ -10,6 +10,11 @@
<array> <array>
<string>/</string> <string>/</string>
</array> </array>
<key>com.apple.security.exception.iokit-user-client-class</key>
<array>
<string>AGXDeviceUserClient</string>
<string>IOSurfaceRootUserClient</string>
</array>
<key>com.apple.private.security.no-sandbox</key> <key>com.apple.private.security.no-sandbox</key>
<true/> <true/>
<key>com.apple.private.persona-mgmt</key> <key>com.apple.private.persona-mgmt</key>