Update Copy Command to work on linux/mac
This commit is contained in:
12
VMM.csproj
12
VMM.csproj
@@ -391,8 +391,16 @@
|
|||||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||||
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
||||||
</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