mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
fix FORCE_HELPER
This commit is contained in:
1 parent
06be39a71c
commit
75ae960d1a
1 file changed
+2
-2
@@ -66,7 +66,7 @@ int exec_checkra1n() {
|
|||||||
uname(&name);
|
uname(&name);
|
||||||
unsigned long darwinMajor = strtoul(name.release, NULL, 10);
|
unsigned long darwinMajor = strtoul(name.release, NULL, 10);
|
||||||
assert(darwinMajor != 0);
|
assert(darwinMajor != 0);
|
||||||
#if !defined(DEV_BUILD)
|
#if !defined(FORCE_HELPER)
|
||||||
if (darwinMajor < 20) {
|
if (darwinMajor < 20) {
|
||||||
#endif
|
#endif
|
||||||
libcheckra1nhelper_dylib_path = malloc(strlen(tmpdir) + 40);
|
libcheckra1nhelper_dylib_path = malloc(strlen(tmpdir) + 40);
|
||||||
@@ -91,7 +91,7 @@ int exec_checkra1n() {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
setenv("DYLD_INSERT_LIBRARIES", libcheckra1nhelper_dylib_path, 1);
|
setenv("DYLD_INSERT_LIBRARIES", libcheckra1nhelper_dylib_path, 1);
|
||||||
#if !defined(DEV_BUILD)
|
#if !defined(FORCE_HELPER)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user