mirror of https://github.com/opa334/TrollStore.git
Print more info if adding to icon cache did not work
This commit is contained in:
parent
8cdef95733
commit
b136e3a292
|
@ -236,6 +236,11 @@ bool registerPath(NSString *path, BOOL unregister, BOOL forceSystem) {
|
|||
|
||||
if (![workspace registerApplicationDictionary:dictToRegister]) {
|
||||
NSLog(@"Error: Unable to register %@", path);
|
||||
NSLog(@"Used dictionary: {");
|
||||
[dictToRegister enumerateKeysAndObjectsUsingBlock:^(NSString *key, NSObject *obj, BOOL *stop) {
|
||||
NSLog(@"%@ = %@", key, obj);
|
||||
}];
|
||||
NSLog(@"}");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue