@@ -1302,14 +1302,8 @@ if not exist "$(TargetDir)\savedata" mkdir "$(TargetDir)\savedata"</Command>
13021302 <ForceFileOutput>MultiplyDefinedSymbolOnly</ForceFileOutput>
13031303 </Link>
13041304 <PostBuildEvent>
1305- <Message>Copying sound assets to output directory</Message>
1306- <Command>xcopy /q /y /i /s /e "$(ProjectDir)Durango\Sound" "$(OutDir)Durango\Sound"
1307- xcopy /q /y /i /s /e "$(ProjectDir)music" "$(OutDir)music"
1308- xcopy /q /y /i /s /e "$(ProjectDir)Windows64\GameHDD" "$(OutDir)Windows64\GameHDD"
1309- xcopy /q /y /i /s /e "$(ProjectDir)Common\Media" "$(OutDir)Common\Media"
1310- xcopy /q /y /i /s /e "$(ProjectDir)Common\res" "$(OutDir)Common\res"
1311- xcopy /q /y /i /s /e "$(ProjectDir)Common\Trial" "$(OutDir)Common\Trial"
1312- xcopy /q /y /i /s /e "$(ProjectDir)Common\Tutorial" "$(OutDir)Common\Tutorial"</Command>
1305+ <Message>Run postbuild script</Message>
1306+ <Command>powershell -ExecutionPolicy Bypass -File "$(ProjectDir)postbuild.ps1" -OutDir "$(OutDir)/" -ProjectDir "$(ProjectDir)/"</Command>
13131307 </PostBuildEvent>
13141308 <ImageXex>
13151309 <ConfigurationFile>$(ProjectDir)xbox\xex-dev.xml</ConfigurationFile>
@@ -1440,25 +1434,8 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CU</Comman
14401434 <SuppressStartupBanner>false</SuppressStartupBanner>
14411435 </Link>
14421436 <PostBuildEvent>
1443- <Message>Copying game assets to output directory</Message>
1444- <Command>mkdir "$(OutDir)music" 2>nul
1445- mkdir "$(OutDir)Windows64\GameHDD" 2>nul
1446- mkdir "$(OutDir)Common\Media" 2>nul
1447- mkdir "$(OutDir)Common\res" 2>nul
1448- mkdir "$(OutDir)Common\Trial" 2>nul
1449- mkdir "$(OutDir)Common\Tutorial" 2>nul
1450- mkdir "$(OutDir)Windows64Media" 2>nul
1451-
1452- xcopy /q /y /i /s /e "$(ProjectDir)music" "$(OutDir)music" || exit /b 0
1453- xcopy /q /y /i /s /e "$(ProjectDir)Windows64\GameHDD" "$(OutDir)Windows64\GameHDD" || exit /b 0
1454- xcopy /q /y /i /s /e "$(ProjectDir)Common\Media" "$(OutDir)Common\Media" || exit /b 0
1455- xcopy /q /y /i /s /e "$(ProjectDir)Common\res" "$(OutDir)Common\res" || exit /b 0
1456- xcopy /q /y /i /s /e "$(ProjectDir)Common\Trial" "$(OutDir)Common\Trial" || exit /b 0
1457- xcopy /q /y /i /s /e "$(ProjectDir)Common\Tutorial" "$(OutDir)Common\Tutorial" || exit /b 0
1458- xcopy /q /y /i /s /e "$(ProjectDir)DurangoMedia" "$(OutDir)Windows64Media" || exit /b 0
1459- xcopy /q /y /i /s /e "$(ProjectDir)Windows64Media" "$(OutDir)Windows64Media" || exit /b 0
1460-
1461- exit /b 0</Command>
1437+ <Message>Run postbuild script</Message>
1438+ <Command>powershell -ExecutionPolicy Bypass -File "$(ProjectDir)postbuild.ps1" -OutDir "$(OutDir)/" -ProjectDir "$(ProjectDir)/"</Command>
14621439 </PostBuildEvent>
14631440 <ImageXex>
14641441 <ConfigurationFile>$(ProjectDir)xbox\xex-dev.xml</ConfigurationFile>
0 commit comments