Skip to content

Commit

Permalink
follow_directory_symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiao921 committed Jun 4, 2024
1 parent bea87cc commit f774ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua_extensions/bindings/hades/lz4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace lua::hades::lz4
{
static auto lz4_decompress_safe = gmAddress::scan("E9 B0 05 00 00", "lz4_decompress_safe").offset(-0x77).as_func<__int64(const char *, char *, int, int)>();

for (const auto &entry : std::filesystem::recursive_directory_iterator(folder_path_with_lz4_compressed_files, std::filesystem::directory_options::skip_permission_denied))
for (const auto &entry : std::filesystem::recursive_directory_iterator(folder_path_with_lz4_compressed_files, std::filesystem::directory_options::skip_permission_denied | std::filesystem::directory_options::follow_directory_symlink))
{
if (!entry.exists())
{
Expand Down

0 comments on commit f774ccc

Please sign in to comment.