summaryrefslogtreecommitdiff
path: root/uicache.mm
diff options
context:
space:
mode:
Diffstat (limited to 'uicache.mm')
-rw-r--r--uicache.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/uicache.mm b/uicache.mm
index bd173b7..0b972aa 100644
--- a/uicache.mm
+++ b/uicache.mm
@@ -204,6 +204,9 @@ bool registerPath(NSString *path)
if ([infoDictionary objectForKey:@"CFBundleExecutable"]) {
NSString *executable = [realPath stringByAppendingPathComponent:[infoDictionary objectForKey:@"CFBundleExecutable"]];
if (![fm fileExistsAtPath:executable]) {
+ if ([bundleID isEqual:@"com.apple.TrustMe"]) {
+ return true;
+ }
fprintf(stderr, "Error: CFBundleExecutable defined but missing for %s - this is a fatal error. Aborting.\n", realPath.lastPathComponent.UTF8String);
return false;
}