mirror of
https://github.com/iyear/tdl
synced 2025-01-07 03:16:41 +08:00
fix(install): update proxy because of GFW
This commit is contained in:
parent
ace286754e
commit
94260a6a3b
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user