]> git.saurik.com Git - uikittools.git/commitdiff
Do not attempt to fix the iOS 6 bug on iOS 7 or 8. v1.1.9
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 31 Oct 2014 16:02:50 +0000 (16:02 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 31 Oct 2014 16:17:42 +0000 (16:17 +0000)
extrainst_.mm

index 9a6a679c31c8e19666a91f8d5f5a043103f0ad18..a938b0415a47d1f5ffd2b447606e105beb212610 100644 (file)
@@ -137,7 +137,7 @@ int main(int argc, const char *argv[]) {
 
     NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
 
-    if (kCFCoreFoundationVersionNumber >= 700) { // XXX: iOS 6.x
+    if (kCFCoreFoundationVersionNumber >= 700 && kCFCoreFoundationVersionNumber < 800) { // XXX: iOS 6.x
         NSString *home(@"/var/mobile");
         NSString *plist([NSString stringWithFormat:@"%@/Library/Caches/com.apple.mobile.installation.plist", home]);
         NSDictionary *cache([NSDictionary dictionaryWithContentsOfFile:plist]);