fix(install): update proxy because of GFW

This commit is contained in:
iyear 2023-12-04 19:01:18 +08:00
parent ace286754e
commit 94260a6a3b
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdent
$PROXY_PREFIX = ""
if ($Proxy)
{
$PROXY_PREFIX = "https://ghproxy.com/"
$PROXY_PREFIX = "https://mirror.ghproxy.com/"
Write-Host "Using GitHub proxy: $PROXY_PREFIX" -ForegroundColor Blue
}

View File

@ -28,7 +28,7 @@ while [[ $# -gt 0 ]]; do
key="$1"
case $key in
--proxy)
PROXY="https://ghproxy.com/"
PROXY="https://mirror.ghproxy.com/"
echo_blue "Using GitHub proxy: $PROXY"
shift
;;