From dea4a0e864281ab1bfb3b9ab8370b5f4d4c7e351 Mon Sep 17 00:00:00 2001 From: bookworm Date: Thu, 2 Apr 2026 19:05:11 +0800 Subject: [PATCH] fix: add NO_PROXY for domestic relay (bww.letcareme.com) --- install.ps1 | 5 +++++ 1 file changed, 5 insertions(+) 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 }