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>
|
||||
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
<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>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user