add copy command for non-windows platforms

This commit is contained in:
Hanz 2025-08-18 16:52:54 -05:00
parent e6f27aad77
commit 125d83f45c
12 changed files with 12 additions and 0 deletions

View file

@ -18,6 +18,7 @@
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy /y &quot;$(TargetPath)&quot; &quot;$(CVRPath)/Mods/&quot;" Condition="$([MSBuild]::IsOSPlatform('Windows'))" />
<Exec Command="cp -f &quot;$(TargetPath)&quot; &quot;$(CVRPath)/Mods/&quot;" Condition=" '$(OS)' != 'Windows_NT' " />
</Target>
<ItemGroup>