From: Jay Freeman (saurik) Date: Sun, 12 Jan 2014 15:05:15 +0000 (-0800) Subject: Add the six controversial cache deletion entries. X-Git-Tag: v0.9.3912^0 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/3da4212c1a39ac845f3e3542ac08d28d6e489c31?hp=db6fa9632fd87d6873bb41bd304584fb6f2a2e83 Add the six controversial cache deletion entries. --- diff --git a/Settings.mm b/Settings.mm index 619df9b..2423d56 100644 --- a/Settings.mm +++ b/Settings.mm @@ -510,6 +510,13 @@ void AddThemes(NSMutableArray *themesOnDisk, NSString *folder) { system("rm -rf /User/Library/Caches/com.apple.newsstand"); system("rm -rf /User/Library/Caches/com.apple.springboard.sharedimagecache"); + system("rm -rf /User/Library/Caches/BarDialer"); + system("rm -rf /User/Library/Caches/BarDialer_selected"); + system("rm -rf /User/Library/Caches/BarRecents"); + system("rm -rf /User/Library/Caches/BarRecents_selected"); + system("rm -rf /User/Library/Caches/BarVM"); + system("rm -rf /User/Library/Caches/BarVM_selected"); + system("killall -9 lsd"); if (kCFCoreFoundationVersionNumber > 700) // XXX: iOS 6.x