Skip to content

Commit 61012cb

Browse files
committed
fix: Symlink handling for remove_mods_directory
1 parent 436f647 commit 61012cb

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
@@ -1610,6 +1610,7 @@ namespace RC
16101610
path = m_working_directory / path;
16111611
}
16121612
path = path.lexically_normal().make_preferred();
1613+
path = std::filesystem::weakly_canonical(path);
16131614
std::erase(m_mods_directories, path);
16141615
}
16151616

0 commit comments

Comments
 (0)