summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uicache.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/uicache.mm b/uicache.mm
index 71ee523..c7510d0 100644
--- a/uicache.mm
+++ b/uicache.mm
@@ -86,6 +86,9 @@ int main(int argc, const char *argv[]) {
@try {
+ unlink([[NSString stringWithFormat:@"%@/Library/Caches/com.apple.LaunchServices-036.csstore", home] UTF8String]);
+ system("killall lsd");
+
Class $LSApplicationWorkspace(objc_getClass("LSApplicationWorkspace"));
LSApplicationWorkspace *workspace($LSApplicationWorkspace == nil ? nil : [$LSApplicationWorkspace defaultWorkspace]);