From: Jay Freeman (saurik) Date: Thu, 3 Nov 2011 19:16:00 +0000 (+0000) Subject: Support a global Fallback/ folder for Default*.png. X-Git-Tag: v0.9.3904~27 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/705e6795e75a44c7af347d25d9025362f53c0671 Support a global Fallback/ folder for Default*.png. --- diff --git a/Library.mm b/Library.mm index 7dd009d..84c3090 100644 --- a/Library.mm +++ b/Library.mm @@ -356,6 +356,8 @@ static NSString *$pathForFile$inBundle$(NSString *file, NSBundle *bundle, bool u remapResourceName(Four_ ? @"SBDockBG-old.png" : @"SBDockBG.png", @"Dock") remapResourceName(@"SBWeatherCelsius.png", @"Icons/Weather") + [names addObject:[NSString stringWithFormat:@"Fallback/%@", file]]; + if (NSString *path = $getTheme$($useScale$(names, ui))) return path;