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 ada344cd6b
commit 417f972659
4 changed files with 28 additions and 15 deletions

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