fix FORCE_HELPER

This commit is contained in:
Nick Chan committed 2023-02-20 20:41:43 +08:00
1 parent 06be39a71c
commit 75ae960d1a
1 file changed
+2 -2
+2 -2
View File
@@ -66,7 +66,7 @@ int exec_checkra1n() {
uname(&name);
unsigned long darwinMajor = strtoul(name.release, NULL, 10);
assert(darwinMajor != 0);
#if !defined(DEV_BUILD)
#if !defined(FORCE_HELPER)
if (darwinMajor < 20) {
#endif
libcheckra1nhelper_dylib_path = malloc(strlen(tmpdir) + 40);
@@ -91,7 +91,7 @@ int exec_checkra1n() {
return -1;
}
setenv("DYLD_INSERT_LIBRARIES", libcheckra1nhelper_dylib_path, 1);
#if !defined(DEV_BUILD)
#if !defined(FORCE_HELPER)
}
#endif
}