diff options
| author | OpportunityLiu <[email protected]> | 2019-06-06 19:20:56 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-06-06 19:20:56 +0800 |
| commit | 625ee243f954265baf280c4130ac96e331bd3e96 (patch) | |
| tree | e1b173813c06b2eafe6f56c5049f77f49dada95a | |
| parent | d67139ef9cb3743e3146dd965586b3110e64b002 (diff) | |
fix
| -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 |
