From dea1d620744b6d6eb8441f91e905facbee277156 Mon Sep 17 00:00:00 2001 From: void_17 <61356189+void2012@users.noreply.github.com> Date: Mon, 2 Mar 2026 14:13:12 +0700 Subject: Revert "Move to a postbuild.ps1 script and Set the working dir at runtime as …" (#111) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 8810566bf6ec4b26e35103b7ae56317db7b0cfcc. --- Minecraft.Client/Minecraft.Client.vcxproj | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) (limited to 'Minecraft.Client/Minecraft.Client.vcxproj') diff --git a/Minecraft.Client/Minecraft.Client.vcxproj b/Minecraft.Client/Minecraft.Client.vcxproj index 4e8d46be..5e448ab6 100644 --- a/Minecraft.Client/Minecraft.Client.vcxproj +++ b/Minecraft.Client/Minecraft.Client.vcxproj @@ -1302,8 +1302,14 @@ if not exist "$(TargetDir)\savedata" mkdir "$(TargetDir)\savedata" MultiplyDefinedSymbolOnly - Run postbuild script - powershell -ExecutionPolicy Bypass -File "$(ProjectDir)postbuild.ps1" -OutDir "$(OutDir)/" -ProjectDir "$(ProjectDir)/" + Copying sound assets to output directory + xcopy /q /y /i /s /e "$(ProjectDir)Durango\Sound" "$(OutDir)Durango\Sound" +xcopy /q /y /i /s /e "$(ProjectDir)music" "$(OutDir)music" +xcopy /q /y /i /s /e "$(ProjectDir)Windows64\GameHDD" "$(OutDir)Windows64\GameHDD" +xcopy /q /y /i /s /e "$(ProjectDir)Common\Media" "$(OutDir)Common\Media" +xcopy /q /y /i /s /e "$(ProjectDir)Common\res" "$(OutDir)Common\res" +xcopy /q /y /i /s /e "$(ProjectDir)Common\Trial" "$(OutDir)Common\Trial" +xcopy /q /y /i /s /e "$(ProjectDir)Common\Tutorial" "$(OutDir)Common\Tutorial" $(ProjectDir)xbox\xex-dev.xml @@ -1434,8 +1440,25 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUfalse - Run postbuild script - powershell -ExecutionPolicy Bypass -File "$(ProjectDir)postbuild.ps1" -OutDir "$(OutDir)/" -ProjectDir "$(ProjectDir)/" + Copying game assets to output directory + mkdir "$(OutDir)music" 2>nul +mkdir "$(OutDir)Windows64\GameHDD" 2>nul +mkdir "$(OutDir)Common\Media" 2>nul +mkdir "$(OutDir)Common\res" 2>nul +mkdir "$(OutDir)Common\Trial" 2>nul +mkdir "$(OutDir)Common\Tutorial" 2>nul +mkdir "$(OutDir)Windows64Media" 2>nul + +xcopy /q /y /i /s /e "$(ProjectDir)music" "$(OutDir)music" || exit /b 0 +xcopy /q /y /i /s /e "$(ProjectDir)Windows64\GameHDD" "$(OutDir)Windows64\GameHDD" || exit /b 0 +xcopy /q /y /i /s /e "$(ProjectDir)Common\Media" "$(OutDir)Common\Media" || exit /b 0 +xcopy /q /y /i /s /e "$(ProjectDir)Common\res" "$(OutDir)Common\res" || exit /b 0 +xcopy /q /y /i /s /e "$(ProjectDir)Common\Trial" "$(OutDir)Common\Trial" || exit /b 0 +xcopy /q /y /i /s /e "$(ProjectDir)Common\Tutorial" "$(OutDir)Common\Tutorial" || exit /b 0 +xcopy /q /y /i /s /e "$(ProjectDir)DurangoMedia" "$(OutDir)Windows64Media" || exit /b 0 +xcopy /q /y /i /s /e "$(ProjectDir)Windows64Media" "$(OutDir)Windows64Media" || exit /b 0 + +exit /b 0 $(ProjectDir)xbox\xex-dev.xml -- cgit v1.2.3