diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/get.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get.ps1 b/scripts/get.ps1 index 27a3bfd58..5b0eae60b 100644 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -4,7 +4,7 @@ param ( [string]$branch = "master", - [string]$version = "2.2.2" + [string]$version = "v2.2.2" ) & { @@ -47,7 +47,7 @@ try{ writeErrorTip 'Please set environment var "TMP" to another path' myExit 1 } -Write-Host "Start downloading xmake-installer v$version to $outfile .." +Write-Host "Start downloading xmake-installer $version to $outfile .." try{ Invoke-Webrequest "https://github.com/tboox/xmake/releases/download/$version/xmake-$version.exe" -OutFile "$outfile" }catch{ |
