mirror of
https://github.com/opa334/TrollStore.git
synced 2025-02-20 20:25:42 +08:00
Compare commits
No commits in common. "2e646919f6951bcd2c600a43347341d3c3247652" and "976f3596d5f1d52522df3e4aa17cf7a2ac3e4edc" have entirely different histories.
2e646919f6
...
976f3596d5
@ -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 if (declaredPreAppliedExploitType != 0)
|
else
|
||||||
{
|
{
|
||||||
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 185;
|
return 175;
|
||||||
}
|
}
|
||||||
|
|
||||||
// tempFile is now signed, overwrite original file at filePath with it
|
// tempFile is now signed, overwrite original file at filePath with it
|
||||||
|
@ -88,8 +88,6 @@ 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
Block a user