mirror of https://github.com/opa334/TrollStore.git
Compare commits
2 Commits
976f3596d5
...
2e646919f6
Author | SHA1 | Date |
---|---|---|
alfiecg24 | 2e646919f6 | |
alfiecg24 | ac42b6b6c0 |
|
@ -542,7 +542,7 @@ int signApp(NSString* appPath)
|
||||||
NSLog(@"[signApp] taking fast path for app which declares use of a supported pre-applied exploit (%@)", mainExecutablePath);
|
NSLog(@"[signApp] taking fast path for app which declares use of a supported pre-applied exploit (%@)", mainExecutablePath);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else
|
else if (declaredPreAppliedExploitType != 0)
|
||||||
{
|
{
|
||||||
NSLog(@"[signApp] app (%@) declares use of a pre-applied exploit that is not supported on this device. Proceeding to re-sign...", mainExecutablePath);
|
NSLog(@"[signApp] app (%@) declares use of a pre-applied exploit that is not supported on this device. Proceeding to re-sign...", mainExecutablePath);
|
||||||
}
|
}
|
||||||
|
@ -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