copy command only exists on windows

This commit is contained in:
Hanz 2025-08-18 14:48:35 -05:00
parent 84bd61c4e2
commit e6f27aad77
12 changed files with 16 additions and 16 deletions

View file

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