mirror of https://github.com/opa334/TrollStore.git
ldid and CoreTrust bypass used the same error code
This commit is contained in:
parent
ac42b6b6c0
commit
2e646919f6
|
@ -715,7 +715,7 @@ int signApp(NSString* appPath)
|
||||||
else {
|
else {
|
||||||
NSLog(@"[%@] CoreTrust bypass failed!!! :(", filePath);
|
NSLog(@"[%@] CoreTrust bypass failed!!! :(", filePath);
|
||||||
fat_free(fat);
|
fat_free(fat);
|
||||||
return 175;
|
return 185;
|
||||||
}
|
}
|
||||||
|
|
||||||
// tempFile is now signed, overwrite original file at filePath with it
|
// tempFile is now signed, overwrite original file at filePath with it
|
||||||
|
|
|
@ -88,6 +88,8 @@ extern NSUserDefaults* trollStoreUserDefaults();
|
||||||
break;
|
break;
|
||||||
case 184:
|
case 184:
|
||||||
errorDescription = @"The app was installed successfully, but has additional binaries that are encrypted (e.g. extensions, plugins). The app itself should work, but you may experience broken functionality as a result.";
|
errorDescription = @"The app was installed successfully, but has additional binaries that are encrypted (e.g. extensions, plugins). The app itself should work, but you may experience broken functionality as a result.";
|
||||||
|
case 185:
|
||||||
|
errorDescription = @"Failed to sign the app. The CoreTrust bypass returned a non zero status code.";
|
||||||
}
|
}
|
||||||
|
|
||||||
NSError* error = [NSError errorWithDomain:TrollStoreErrorDomain code:code userInfo:@{NSLocalizedDescriptionKey : errorDescription}];
|
NSError* error = [NSError errorWithDomain:TrollStoreErrorDomain code:code userInfo:@{NSLocalizedDescriptionKey : errorDescription}];
|
||||||
|
|
Loading…
Reference in New Issue