diff options
| author | ruki <[email protected]> | 2018-11-27 22:33:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-27 09:23:39 +0800 |
| commit | 7273699f8f3cf313f877cdb2d9f6307f3178ec33 (patch) | |
| tree | 1259b167cb15aa896643e3c0f560ee6f5768a0c1 /scripts | |
| parent | acec9c6bfbca5ba5edafe43d2d4eb35dd775414b (diff) | |
fix get.ps1 download failed
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{ |
