]> git.saurik.com Git - winterboard.git/commitdiff
Fixed the cache clearing code.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 19 Oct 2011 22:46:49 +0000 (22:46 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 19 Oct 2011 22:46:49 +0000 (22:46 +0000)
Settings.mm

index e94022a338ef4a6aac4f38ccc1dc47e3c3a54feb..59c35e505f5be04322e4d10b4fba2a94efbc3284 100644 (file)
@@ -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");