Skip to content

Commit

Permalink
Merge pull request #30 from sidrus/fix/appveyor
Browse files Browse the repository at this point in the history
Fixes #29 by updating extraction paths
  • Loading branch information
sidrus authored Apr 1, 2020
2 parents 1005512 + 2e84fe8 commit b4237e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,4 @@ ksp-telemachus-dev
Telemachus.v12.suo
WebPages/WebPages.v12.suo
*.ide-wal
.vs/Telemachus/xs
.vs/Telemachus/v15/.suo
.vs/Telemachus/v15/Server/sqlite3/db.lock
.vs/Telemachus/v15/Server/sqlite3/storage.ide
.vs/Telemachus/v15/Server/sqlite3/storage.ide-shm
.vs/
4 changes: 2 additions & 2 deletions Telemachus/AfterBuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ copy "%1..\readme.md" "%1..\publish\GameData\Telemachus\"

xcopy "%1..\WebPages\WebPagesTest\src\*" "%1..\ksp-telemachus-dev\GameData\Telemachus\Plugins\PluginData\Telemachus\test" /e /y /i /r
xcopy "%1..\publish\GameData\*" "%1..\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;"
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 %2h.zip; Expand-Archive -Path %2h.zip -DestinationPath %2houston -Force;"


mkdir "%1..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\houston"
xcopy "%2houston\*" "%1..\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;"
powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iwr https://github.com/TeleIO/mkon/archive/master.zip -OutFile %2mkon.zip; Expand-Archive -Path %2mkon.zip -DestinationPath %2mkon -Force;"
mkdir "%1..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\mkon"
xcopy "%2mkon\mkon-master\*" "%1..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\mkon" /e /y /i /r
dir "%1..\publish\GameData\Telemachus\Plugins\PluginData\Telemachus\"

0 comments on commit b4237e5

Please sign in to comment.