mirror of
https://github.com/opa334/TrollStore.git
synced 2026-07-02 03:00:39 +08:00
WIP signing improvements, don't seem to be fixing the issue I was trying to fix
This commit is contained in:
@@ -64,10 +64,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
char *machoPath = extract_preferred_slice(input);
|
||||
printf("Extracted best slice to %s\n", machoPath);
|
||||
|
||||
int r = codesign_sign_adhoc(machoPath, true, customEntitlements);
|
||||
int r = codesign_sign_adhoc(input, true, customEntitlements);
|
||||
if (r != 0) {
|
||||
printf("Failed adhoc signing (%d) Continuing anyways...\n", r);
|
||||
}
|
||||
@@ -75,6 +72,9 @@ int main(int argc, char *argv[]) {
|
||||
printf("AdHoc signed file!\n");
|
||||
}
|
||||
|
||||
char *machoPath = extract_preferred_slice(input);
|
||||
printf("Extracted best slice to %s\n", machoPath);
|
||||
|
||||
printf("Applying CoreTrust bypass...\n");
|
||||
|
||||
if (apply_coretrust_bypass(machoPath) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user