Debug & Release use the same file structure

This commit is contained in:
GuglioIsStupid 2026-03-02 19:02:56 -05:00
parent 9e1661c1b1
commit 609ba2238a

View file

@ -77,28 +77,17 @@ function(remove_directory_if_exists rel_path)
endif() endif()
endfunction() endfunction()
if(CONFIGURATION STREQUAL "Debug") copy_tree_if_exists("Durango/Sound" "Windows64/Sound")
copy_tree_if_exists("Durango/Sound" "Windows64/Sound") copy_tree_if_exists("music" "music")
copy_tree_if_exists("music" "music") copy_tree_if_exists("Windows64/GameHDD" "Windows64/GameHDD")
copy_tree_if_exists("Windows64/GameHDD" "Windows64/GameHDD") copy_file_if_exists("Minecraft.Client/Common/Media/MediaWindows64.arc" "Common/Media/MediaWindows64.arc")
copy_file_if_exists("Minecraft.Client/Common/Media/MediaWindows64.arc" "Common/Media/MediaWindows64.arc") copy_tree_if_exists("Common/res" "Common/res")
copy_tree_if_exists("Common/res" "Common/res") copy_tree_if_exists("Common/Trial" "Common/Trial")
copy_tree_if_exists("Common/Trial" "Common/Trial") copy_tree_if_exists("Common/Tutorial" "Common/Tutorial")
copy_tree_if_exists("Common/Tutorial" "Common/Tutorial") copy_tree_if_exists("DurangoMedia" "Windows64Media")
copy_tree_if_exists("Windows64Media" "Windows64Media")
remove_directory_if_exists("Windows64Media/Layout") remove_directory_if_exists("Windows64Media/Layout")
else()
copy_tree_if_exists("music" "music")
copy_tree_if_exists("Windows64/GameHDD" "Windows64/GameHDD")
copy_file_if_exists("Minecraft.Client/Common/Media/MediaWindows64.arc" "Common/Media/MediaWindows64.arc")
copy_tree_if_exists("Common/res" "Common/res")
copy_tree_if_exists("Common/Trial" "Common/Trial")
copy_tree_if_exists("Common/Tutorial" "Common/Tutorial")
copy_tree_if_exists("DurangoMedia" "Windows64Media")
copy_tree_if_exists("Windows64Media" "Windows64Media")
remove_directory_if_exists("Windows64Media/Layout")
endif()
# Some runtime code asserts if this directory tree is missing. # Some runtime code asserts if this directory tree is missing.
ensure_dir("Windows64/GameHDD") ensure_dir("Windows64/GameHDD")