Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ttwj committed Jun 14, 2015
1 parent f1599f6 commit 8e828ca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion main.m
Expand Up @@ -188,12 +188,18 @@ void inject_file(NSString* file, NSString* _dylib)
inject_dylib_64(binaryFile, 0);
break;
}
default:
case MH_CIGAM:
case MH_MAGIC:
{
NSLog(@"Thin 32bit binary!\n");
inject_dylib_64(binaryFile, 0);
break;
}
default:
{
printf("Error: Unknown architecture detected");
exit(1);
}
}

NSLog(@"complete!");
Expand Down

0 comments on commit 8e828ca

Please sign in to comment.