Update Copy Command to work on linux/mac
This commit is contained in:
10
VMM.csproj
10
VMM.csproj
@@ -393,6 +393,14 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||||
<Exec Command="COPY "$(TargetPath)" "$(VIGIL_GAME_DIR)\Mods"" />
|
|
||||||
|
<!-- Windows -->
|
||||||
|
<Exec Condition="'$(OS)' == 'Windows_NT'"
|
||||||
|
Command="copy "$(TargetPath)" "$(VIGIL_GAME_DIR)\Mods"" />
|
||||||
|
|
||||||
|
<!-- Linux/Mac -->
|
||||||
|
<Exec Condition="'$(OS)' != 'Windows_NT'"
|
||||||
|
Command="cp "$(TargetPath)" "$(VIGIL_GAME_DIR)/Mods"" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
Reference in New Issue
Block a user