Skip to content

Commit f4e34ef

Browse files
UE4SSnarknon
authored andcommitted
fix: Symlink handling for remove_mods_directory
1 parent 1f598ba commit f4e34ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UE4SS/src/UE4SSProgram.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,7 @@ namespace RC
16171617
path = m_working_directory / path;
16181618
}
16191619
path = path.lexically_normal().make_preferred();
1620+
path = std::filesystem::weakly_canonical(path);
16201621
std::erase(m_mods_directories, path);
16211622
}
16221623

0 commit comments

Comments
 (0)