Skip to content

Commit

Permalink
Fix JIT requirement check in JIT-less mode
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Aug 5, 2024
1 parent e88bbdd commit e775708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.m
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static void overwriteExecPath(NSString *bundlePath) {

static NSString* invokeAppMain(NSString *selectedApp, int argc, char *argv[]) {
NSString *appError = nil;
if (![lcUserDefaults objectForKey:@"LCCertificateData"]) {
if (![lcUserDefaults objectForKey:@"LCCertificatePassword"]) {
// First of all, let's check if we have JIT
for (int i = 0; i < 10 && !checkJITEnabled(); i++) {
usleep(1000*100);
Expand Down

0 comments on commit e775708

Please sign in to comment.