127.0.0.1:7890
ClashVerge默认端口
Write-Output "1. Fetching latest version info via proxy..."
$json = curl.exe -sSL -x http://127.0.0.1:7897 https://antigravity-cli-auto-updater-974169037036.us-central1.run.app/manifests/windows_amd64.json
$url = ($json | ConvertFrom-Json).url
Write-Output "2. Creating installation directory..."
$targetDir = "$env:LOCALAPPDATA\agy\bin"
if (-not (Test-Path $targetDir)) { New-Item -ItemType Directory -Path $targetDir | Out-Null }
Write-Output "3. Downloading agy.exe directly via proxy..."
curl.exe -# -x http://127.0.0.1:7897 $url -o "$targetDir\agy.exe"
Write-Output "4. Running setup..."
& "$targetDir\agy.exe" install
Write-Output "Installation Complete! You can now run 'agy' in a new terminal."
若不放心,请到ai询问此下载脚本的安全性
