From: Jay Freeman (saurik) Date: Wed, 26 Nov 2014 22:40:57 +0000 (-0800) Subject: Also provide folder argument when bundle remapping. X-Git-Tag: v0.9.3917~2 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/e9c2cd6503b1a1c84b955aa518241537aa751f51?hp=00c922e0b80dc0765ae32a72e971e09589792bd4 Also provide folder argument when bundle remapping. --- diff --git a/Library.mm b/Library.mm index 626f280..66961a0 100644 --- a/Library.mm +++ b/Library.mm @@ -390,13 +390,13 @@ static void $pathForFile$inBundle$(NSMutableArray *names, NSString *file, NSStri if (identifier == nil); else if ([identifier isEqualToString:@"com.apple.uikit.Artwork"]) - $pathForFile$inBundle$(names, file, @"com.apple.UIKit", nil); + $pathForFile$inBundle$(names, file, @"com.apple.UIKit", @"UIKit.framework"); else if ([identifier isEqualToString:@"com.apple.uikit.LegacyArtwork"]) - $pathForFile$inBundle$(names, file, @"com.apple.UIKit", nil); + $pathForFile$inBundle$(names, file, @"com.apple.UIKit", @"UIKit.framework"); else if ([identifier isEqualToString:@"com.apple.UIKit"]) [names addObject:[NSString stringWithFormat:@"UIImages/%@", file]]; else if ([identifier isEqualToString:@"com.apple.chatkit"]) - $pathForFile$inBundle$(names, file, @"com.apple.MobileSMS", nil); + $pathForFile$inBundle$(names, file, @"com.apple.MobileSMS", @"MobileSMS.app"); 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"])