Replace batch/shell script with MSBuild

This commit is contained in:
YoshiRulz 2020-05-04 09:25:51 +10:00
parent 31d4662ab6
commit 1b17cb4297
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
3 changed files with 4 additions and 8 deletions

View File

@ -1,3 +0,0 @@
@CHDIR "%~dp0\.."
@ROBOCOPY /E Assets output
@EXIT 0

View File

@ -1,3 +0,0 @@
#!/bin/sh
cd "$(dirname "$0")/.."
cp -f -r Assets/* output || printf ""

View File

@ -640,7 +640,9 @@
<Compile Update="UpdateChecker.cs" SubType="Code" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command='"$(ProjectDir)..\..\Build\postbuild_emuhawk.bat"' Condition=" '$(OS)' == 'Windows_NT' " />
<Exec Command='"$(ProjectDir)../../Build/postbuild_emuhawk.sh"' Condition=" '$(OS)' != 'Windows_NT' " />
<ItemGroup>
<AssetFiles Include="$(ProjectDir)../../Assets/**/*.*" />
</ItemGroup>
<Copy SourceFiles="@(AssetFiles)" DestinationFolder="$(OutputPath)%(RecursiveDir)" SkipUnchangedFiles="true" />
</Target>
</Project>