From 546a205b9216b8dbbc38d6ebe5b423536a24609d Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 19 Oct 2011 22:46:49 +0000 Subject: [PATCH] Fixed the cache clearing code. --- Settings.mm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Settings.mm b/Settings.mm index e94022a..59c35e5 100644 --- a/Settings.mm +++ b/Settings.mm @@ -439,17 +439,18 @@ static NSString *_plist; unlink("/User/Library/Caches/com.apple.springboard-imagecache-smallicons"); unlink("/User/Library/Caches/com.apple.springboard-imagecache-smallicons.plist"); - unlink("/User/Library/Cache/com.apple.SpringBoard.folderSwitcherLinen"); - unlink("/User/Library/Cache/com.apple.SpringBoard.notificationCenterLinen"); + unlink("/User/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen"); + unlink("/User/Library/Caches/com.apple.SpringBoard.notificationCenterLinen"); - unlink("/User/Library/Cache/com.apple.SpringBoard.folderSwitcherLinen.0"); - unlink("/User/Library/Cache/com.apple.SpringBoard.folderSwitcherLinen.1"); - unlink("/User/Library/Cache/com.apple.SpringBoard.folderSwitcherLinen.2"); - unlink("/User/Library/Cache/com.apple.SpringBoard.folderSwitcherLinen.3"); + unlink("/User/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.0"); + unlink("/User/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.1"); + unlink("/User/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.2"); + unlink("/User/Library/Caches/com.apple.SpringBoard.folderSwitcherLinen.3"); system("rm -rf /User/Library/Caches/SpringBoardIconCache"); system("rm -rf /User/Library/Caches/SpringBoardIconCache-small"); system("rm -rf /User/Library/Caches/com.apple.IconsCache"); + system("rm -rf /User/Library/Caches/com.apple.newsstand"); system("rm -rf /User/Library/Caches/com.apple.springboard.sharedimagecache"); system("killall lsd SpringBoard"); -- 2.45.2