]> git.saurik.com Git - winterboard.git/commitdiff
Consistently remap arguments, not individual files.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 26 Nov 2014 22:41:30 +0000 (14:41 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 26 Nov 2014 22:41:30 +0000 (14:41 -0800)
Library.mm

index 66961a041372db26271c139b79f0fa61be81470e..d928a0306612bae0206cfee8aa9fc54f623ac9c1 100644 (file)
@@ -400,7 +400,7 @@ static void $pathForFile$inBundle$(NSMutableArray *names, NSString *file, NSStri
     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"]];
+        $pathForFile$inBundle$(names, @"icon.png", identifier, folder);
     else if (!summer);
         remapResourceName(@"FSO_BG.png", @"StatusBar")
         remapResourceName(Four_ ? @"SBDockBG-old.png" : @"SBDockBG.png", @"Dock")