]> git.saurik.com Git - winterboard.git/commitdiff
Provide some backwards compatibility for iOS 6 Maps.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 20 Sep 2012 22:03:02 +0000 (22:03 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 20 Sep 2012 22:03:02 +0000 (22:03 +0000)
Library.mm

index 2744675976efd2f6f8b61088ada8297ff024d8fd..7b5a2b0f52a9edfd95ec00595208892c8c37e0fe 100644 (file)
@@ -376,6 +376,8 @@ static NSString *$pathForFile$inBundle$(NSString *file, NSBundle *bundle, bool u
         [names addObject:[NSString stringWithFormat:@"Bundles/com.apple.MobileSMS/%@", file]];
     else if ([identifier isEqualToString:@"com.apple.calculator"])
         [names addObject:[NSString stringWithFormat:@"Files/Applications/Calculator.app/%@", file]];
+    else if ([identifier isEqualToString:@"com.apple.Maps"] && [file isEqualToString:@"Icon-57@2x.png"])
+        [names addObject:[NSString stringWithFormat:@"Bundles/com.apple.Maps/icon.png"]];
     else if (!summer);
         remapResourceName(@"FSO_BG.png", @"StatusBar")
         remapResourceName(Four_ ? @"SBDockBG-old.png" : @"SBDockBG.png", @"Dock")