diff --git a/install.ps1 b/install.ps1 index c9d2baa..ed4e06c 100644 --- a/install.ps1 +++ b/install.ps1 @@ -269,9 +269,14 @@ function Render-SettingsTemplate { # ─── 代理自动检测 ──────────────────────────────────── function Detect-SystemProxy { + # 中转站在国内阿里云,不走代理 + $env:NO_PROXY = "bww.letcareme.com,code.letcareme.com,letcareme.com,localhost,127.0.0.1" + $env:no_proxy = $env:NO_PROXY + # 如果已手动设置了 HTTPS_PROXY,直接使用 if ($env:HTTPS_PROXY) { Write-Host " [OK] 已设置 HTTPS_PROXY=$($env:HTTPS_PROXY)" -ForegroundColor Green + Write-Host " [OK] NO_PROXY=$($env:NO_PROXY)" -ForegroundColor Green return }