From 2f1714a8bc246ed032bd10e81a08796602c73976 Mon Sep 17 00:00:00 2001 From: Brandon Frie Date: Wed, 1 Apr 2020 22:50:38 -0500 Subject: [PATCH 1/2] moved MiniAVC into dependencies folder and version information to root level. --- Telemachus/AfterBuild.bat | 5 +++-- Telemachus/AfterBuild.sh | 4 ++-- Telemachus/Telemachus.csproj | 8 -------- ...machusReborn.version => TelemachusReborn.version | 0 {Telemachus/deps => dependencies}/MiniAVC.dll | Bin 5 files changed, 5 insertions(+), 12 deletions(-) rename Telemachus/deps/TelemachusReborn.version => TelemachusReborn.version (100%) rename {Telemachus/deps => dependencies}/MiniAVC.dll (100%) diff --git a/Telemachus/AfterBuild.bat b/Telemachus/AfterBuild.bat index 83c76cb..b626ec4 100644 --- a/Telemachus/AfterBuild.bat +++ b/Telemachus/AfterBuild.bat @@ -4,8 +4,9 @@ rd /s /q "%1..\ksp-telemachus-dev\GameData\Telemachus" xcopy "%2Servers.dll" "%1..\publish\GameData\Telemachus\Plugins\" /e /y /i /r xcopy "%2Telemachus.dll" "%1..\publish\GameData\Telemachus\Plugins\" /e /y /i /r xcopy "%2websocket-sharp.dll" "%1..\publish\GameData\Telemachus\Plugins\" /e /y /i /r -xcopy "%2\deps\MiniAVC.dll" "%1..\publish\GameData\Telemachus\" /e /y /i /r -xcopy "%2\deps\telemachusReborn.version" "%1..\publish\GameData\Telemachus\" /e /y /i /r + +xcopy "%1..\dependencies\MiniAVC.dll" "%1..\publish\GameData\Telemachus\" /y /i /r +xcopy "%1..\TelemachusReborn.version" "%1..\publish\GameData\Telemachus\" /y /i /r xcopy "%1..\Parts\*" "%1..\publish\GameData\Telemachus\Parts\" /e /y /i /r xcopy "%1..\WebPages\WebPages\src\*" "%1..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\" /e /y /i /r diff --git a/Telemachus/AfterBuild.sh b/Telemachus/AfterBuild.sh index d65445c..cdb6dc2 100755 --- a/Telemachus/AfterBuild.sh +++ b/Telemachus/AfterBuild.sh @@ -24,8 +24,8 @@ mkdir -p "$ProjectDir/../publish/GameData/Telemachus/Plugins/PluginData/Telemach cp "$TargetDir/Telemachus.dll" "$ProjectDir/../publish/GameData/Telemachus/Plugins/" cp "$TargetDir/websocket-sharp.dll" "$ProjectDir/../publish/GameData/Telemachus/Plugins/" -cp "$TargetDir/deps/MiniAVC.dll" "$ProjectDir/../publish/GameData/Telemachus/" -cp "$TargetDir/deps/TelemachusReborn.version" "$ProjectDir/../publish/GameData/Telemachus/" +cp "$ProjectDir/../dependencies/MiniAVC.dll" "$ProjectDir/../publish/GameData/Telemachus/" +cp "$ProjectDir/../TelemachusReborn.version" "$ProjectDir/../publish/GameData/Telemachus/" cp -ra "$ProjectDir/../Parts/." "$ProjectDir/../publish/GameData/Telemachus/Parts/" cp -ra "$ProjectDir/../WebPages/WebPages/src/." "$ProjectDir/../publish/GameData/Telemachus/Plugins/PluginData/Telemachus/" diff --git a/Telemachus/Telemachus.csproj b/Telemachus/Telemachus.csproj index 8ad052d..74be076 100644 --- a/Telemachus/Telemachus.csproj +++ b/Telemachus/Telemachus.csproj @@ -117,14 +117,6 @@ - - PreserveNewest - - - - - PreserveNewest -