diff options
| -rw-r--r-- | scripts/get.ps1 | 4 | ||||
| -rw-r--r-- | xmake/scripts/update-script.bat | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/scripts/get.ps1 b/scripts/get.ps1 index 769585ebd..8bce62861 100644 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -8,10 +8,6 @@ param ( [string]$installdir = $(Join-Path $(if($env:HOME) { $env:HOME } else { "C:\" }) 'xmake') ) -echo $branch -echo $version -echo $installdir - function myExit($code) { if ($code -is [int] -and $code -ne 0) { throw $Error[0] diff --git a/xmake/scripts/update-script.bat b/xmake/scripts/update-script.bat index f0df7c1bd..760db0817 100644 --- a/xmake/scripts/update-script.bat +++ b/xmake/scripts/update-script.bat @@ -1,7 +1,7 @@ @echo off echo Removing old files -cd "%~1" +cd /d "%~1" del actions core includes languages modules platforms plugins repository rules scripts templates themes /S /Q /F >nul echo Copying from temp directory to "%~1" xcopy "%~2" "%~1" /S /Y /Q >nul
\ No newline at end of file |
