Skip to content

Commit

Permalink
Update Telemachus.csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
dsolmann authored Oct 14, 2018
1 parent a405b29 commit 3d4f439
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Telemachus/Telemachus.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,14 @@ copy "$(ProjectDir)..\readme.md" "$(ProjectDir)..\publish\GameData\Telemachus\"
xcopy "$(ProjectDir)..\WebPages\WebPagesTest\src\*" "$(ProjectDir)..\ksp-telemachus-dev\GameData\Telemachus\Plugins\PluginData\Telemachus\test" /e /y /i /r
xcopy "$(ProjectDir)..\publish\GameData\*" "$(ProjectDir)..\ksp-telemachus-dev\GameData\" /e /y /i /r
powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $assets = Invoke-WebRequest -Uri https://api.github.com/repos/TeleIO/houston/releases/latest | ConvertFrom-Json; $assets = $assets.assets; iwr $assets.browser_download_url -OutFile h.zip; Expand-Archive -Path h.zip -DestinationPath houston;"
dir


mkdir "$(ProjectDir)..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\houston"
xcopy "$(TargetDir)houston\*" "$(ProjectDir)..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\" /e /y /i /r

xcopy "$(TargetDir)houston\*" "$(ProjectDir)..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\houston" /e /y /i /r
powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iwr https://github.com/TeleIO/mkon/archive/master.zip -OutFile mkon.zip; Expand-Archive -Path mkon.zip -DestinationPath mkon;"
mkdir "$(ProjectDir)..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\mkon"
xcopy "$(TargetDir)mkon\mkon-master\*" "$(ProjectDir)..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\mkon" /e /y /i /r
dir "$(ProjectDir)..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\"
</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down

0 comments on commit 3d4f439

Please sign in to comment.