summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2020-05-24 09:30:53 -1000
committerSam Bingner <sam@bingner.com>2020-05-24 09:30:53 -1000
commitcd2c506df669e1ea3f046c97f263aca3e98c9f0d (patch)
treeb59405814dd98e40454adc8f13def26b1673cc80
parent225a5a093a4bc1288d1067a2df67b833b7a5c07b (diff)
Ignore missing file for TrustMe.appv1.1.17
-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;
}