diff options
Diffstat (limited to 'uicache.mm')
-rw-r--r-- | uicache.mm | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -75,8 +75,10 @@ int main() { [cache writeToFile:path atomically:YES]; if (workspace != nil) - for (NSString *bundle in bundles) + for (NSString *bundle in bundles) { + [workspace unregisterApplication:[NSURL fileURLWithPath:bundle]]; [workspace registerApplication:[NSURL fileURLWithPath:bundle]]; + } if (false) error: fprintf(stderr, "%s\n", error == nil ? strerror(errno) : [[error localizedDescription] UTF8String]); |