mirror of
https://github.com/opa334/TrollStore.git
synced 2026-12-01 09:35:29 +08:00
Properly handle errors where an app cannot be added to icon cache
This commit is contained in:
1 parent
bbdd0fdcdd
commit
8cdef95733
4 files changed
+14
-5
No files matched your search
@@ -77,6 +77,9 @@ extern NSUserDefaults* trollStoreUserDefaults();
|
||||
case 180:
|
||||
errorDescription = @"The app you tried to install contains encrypted binaries, which cannot have the CoreTrust bypass applied to them. Please ensure you install decrypted apps.";
|
||||
break;
|
||||
case 181:
|
||||
errorDescription = @"Failed to add app to icon cache.";
|
||||
break;
|
||||
}
|
||||
|
||||
NSError* error = [NSError errorWithDomain:TrollStoreErrorDomain code:code userInfo:@{NSLocalizedDescriptionKey : errorDescription}];
|
||||
|
||||
Reference in new issue
Block a user