Skip to content

Commit

Permalink
fix(install): update proxy because of GFW
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Dec 4, 2023
1 parent ace2867 commit 94260a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit 94260a6

Please sign in to comment.