fix: enable tar logging for Windows64Media step

This commit is contained in:
izzy 2026-03-05 05:58:04 -05:00 committed by GitHub
parent d875aec648
commit cc992de7a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -140,8 +140,8 @@ elseif(UNIX)
execute_process(
COMMAND tar
"--exclude=*.h" "--exclude=*.xml" "--exclude=*.lang" "--exclude=*.bat"
-cf - -C "${CMAKE_CURRENT_SOURCE_DIR}/Minecraft.Client/DurangoMedia/" .
COMMAND tar -xf - -C "${CMAKE_CURRENT_BINARY_DIR}/Windows64Media/"
-cvf - -C "${CMAKE_CURRENT_SOURCE_DIR}/Minecraft.Client/DurangoMedia/" .
COMMAND tar -xvf - -C "${CMAKE_CURRENT_BINARY_DIR}/Windows64Media/"
)
else()
message(FATAL_ERROR "Redist and asset copying is only supported on Windows (Robocopy) and Unix systems (cp, tar).")