Revert "Migrate EmuHawk's post-build targets to shell scripts"
This reverts commit 0ff90bf131
.
This commit is contained in:
parent
0ff90bf131
commit
ddddb309fc
|
@ -1 +0,0 @@
|
|||
REM TODO
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
cd "$(dirname "$0")/.." && (cp -r Assets/* output; cp src/BizHawk.Client.EmuHawk/bin/*/* output)
|
|
@ -5,7 +5,7 @@
|
|||
<ApplicationIcon>images/logo.ico</ApplicationIcon>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<DefineConstants>$(DefineConstants);EXE_PROJECT</DefineConstants>
|
||||
<OutputPath>$(ProjectDir)bin</OutputPath>
|
||||
<OutputPath>$(ProjectDir)../../output</OutputPath>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net48</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
@ -634,8 +634,10 @@
|
|||
<Compile Update="tools/Watch/WatchValueBox.cs" SubType="Component" />
|
||||
<Compile Update="UpdateChecker.cs" SubType="Code" />
|
||||
</ItemGroup>
|
||||
<Target Name="PreBuild" AfterTargets="PreBuildEvent">
|
||||
<Exec Command='"$(ProjectDir)..\..\Dist\copy_assets_and_emuhawk_to_output.bat"' Condition=" '$(OS)' == 'Windows_NT' " />
|
||||
<Exec Command='"$(ProjectDir)../../Dist/copy_assets_and_emuhawk_to_output.sh"' Condition=" '$(OS)' != 'Windows_NT' " />
|
||||
<Target Name="AfterBuild">
|
||||
<ItemGroup>
|
||||
<AssetFiles Include="$(ProjectDir)../../Assets/**/*.*" Exclude="$(ProjectDir)../../Assets/**/.gitempty;$(ProjectDir)../../Assets/**/.gitignore" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="@(AssetFiles)" DestinationFolder="$(OutDir)%(RecursiveDir)" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
Loading…
Reference in New Issue