From 2e84fe877052dc226a218b2a750922b0b1a808d0 Mon Sep 17 00:00:00 2001 From: Brandon Frie Date: Mon, 30 Mar 2020 23:35:22 -0500 Subject: [PATCH] Fixes TeleIO/Telemachus-1#29 by updating extraction paths --- .gitignore | 6 +----- Telemachus/AfterBuild.bat | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index b955c1a..a9cb3d5 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ \ No newline at end of file diff --git a/Telemachus/AfterBuild.bat b/Telemachus/AfterBuild.bat index d20383a..0127c69 100644 --- a/Telemachus/AfterBuild.bat +++ b/Telemachus/AfterBuild.bat @@ -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\" \ No newline at end of file