summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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'