summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2019-01-19 00:51:57 +0800
committerruki <[email protected]>2019-01-18 23:11:46 +0800
commitafce7b87c44ae7b75aeec4b01f6dfaaf03039488 (patch)
tree485c20536316f8a76e7acf085cf7ac18cf6ac0a1 /scripts
parentef86b43e8d35a9dd633e5a8236fc0976215c47b3 (diff)
update get.ps1
Diffstat (limited to 'scripts')
-rw-r--r--scripts/get.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.ps1 b/scripts/get.ps1
index 3c3f5f9e5..214d437b5 100644
--- a/scripts/get.ps1
+++ b/scripts/get.ps1
@@ -49,7 +49,7 @@ try{
}
Write-Host "Start downloading https://github.com/tboox/xmake/releases/download/$version/xmake-$version.exe .."
try{
- Invoke-Webrequest "https://github.com/tboox/xmake/releases/download/$version/xmake-$version.exe" -OutFile "$outfile"
+ Invoke-Webrequest "https://github.com/tboox/xmake/releases/download/$version/xmake-$branch.exe" -OutFile "$outfile"
}catch{
writeErrorTip 'Download failed!'
writeErrorTip 'Check your network or... the news of S3 break'