Does $(ProjectDir) exist teamcity?
This commit is contained in:
parent
d55b8cb4fb
commit
338292c7bf
2 changed files with 1 additions and 1 deletions
12
TShockAPI/postbuild.bat
Normal file
12
TShockAPI/postbuild.bat
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
@echo off
|
||||
set pluginspath=C:\Program Files (x86)\Steam\steamapps\common\terraria\serverplugins\
|
||||
IF NOT EXIST "%pluginspath%" GOTO SkipCopy
|
||||
attrib -r "%pluginspath%TShockAPI.dll"
|
||||
attrib -r "%pluginspath%TShockAPI.pdb"
|
||||
copy "TShockAPI.dll" "%pluginspath%"
|
||||
copy "TShockAPI.pdb" "%pluginspath%"
|
||||
echo Files copied
|
||||
GOTO end
|
||||
:SkipCopy
|
||||
echo Skipped copying files
|
||||
:end
|
||||
Loading…
Add table
Add a link
Reference in a new issue