installer: restore the China mirror of agent (#389)

This commit is contained in:
UUBulb
2024-07-14 07:34:45 +08:00
committed by GitHub
parent 9d023f4f8b
commit b7a94a0474
4 changed files with 28 additions and 15 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ if($region -ne "CN"){
$download = "https://github.com/$agentrepo/releases/download/$agenttag/$file"
Write-Host "Location:$region,connect directly!" -BackgroundColor DarkRed -ForegroundColor Green
}else{
$download = "https://github.com/$agentrepo/releases/download/$agenttag/$file"
$download = "https://gitee.com/naibahq/agent/releases/download/$agenttag/$file"
Write-Host "Location:CN,use mirror address" -BackgroundColor DarkRed -ForegroundColor Green
}
echo $download