From e9c2cd6503b1a1c84b955aa518241537aa751f51 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 26 Nov 2014 14:40:57 -0800 Subject: [PATCH 1/1] Also provide folder argument when bundle remapping. --- Library.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"]) -- 2.45.2