diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2013-02-06 09:20:52 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2013-02-06 10:12:16 +0000 |
commit | 4ab9b1c71900d5516424dcaf8b0dcb329d5a839f (patch) | |
tree | be25d2c0d538de194abb5df3aa62363485fd20d0 /uicache.mm | |
parent | c9bb7c8ef256cba01e9e48a2c5f130ab31838905 (diff) |
Delete all of the .csstore files.
Diffstat (limited to 'uicache.mm')
-rw-r--r-- | uicache.mm | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -48,6 +48,8 @@ #include <MobileCoreServices/LSApplicationWorkspace.h> +#include "csstore.hpp" + @interface NSMutableArray (Cydia) - (void) addInfoDictionary:(NSDictionary *)info; @end @@ -86,7 +88,8 @@ int main(int argc, const char *argv[]) { @try { - unlink([[NSString stringWithFormat:@"%@/Library/Caches/com.apple.LaunchServices-036.csstore", home] UTF8String]); + DeleteCSStores([home UTF8String]); + system("killall lsd"); Class $LSApplicationWorkspace(objc_getClass("LSApplicationWorkspace")); |