Skip to content

Commit b4f380b

Browse files
committed
Fix dyld bypass for dylibs loaded outside of the Documemts dir
1 parent a63ca38 commit b4f380b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Natives/dyld_bypass_validation.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ bool searchAndPatch(char *name, char *base, char *signature, int length, void *t
124124

125125
int hooked___fcntl(int fildes, int cmd, void *param) {
126126
if (cmd == F_ADDFILESIGS_RETURN) {
127-
const char *homeDir = getenv("POJAV_HOME");
127+
const char *homeDir = getenv("CFFIXED_USER_HOME");
128128
char filePath[PATH_MAX];
129129
bzero(filePath, sizeof(filePath));
130130

0 commit comments

Comments
 (0)