谷歌反重力windows11下载脚本带进度显示

实用技术 AI 其它
32

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询问此下载脚本的安全性

本文版权遵循 CC BY-NC 协议 本站版权政策

(。>︿<。) 已经一滴回复都不剩了哦~