From f97294a6aba1f9069754654c61542000d7534579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=A4=A9=E5=9E=9A?= Date: Thu, 28 Dec 2023 15:52:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0ghd=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ghd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghd b/ghd index d9f76f2..5d05c22 100755 --- a/ghd +++ b/ghd @@ -22,7 +22,7 @@ download () { echo '------------------------------ 正在通过 GitHub Proxy (https://ghproxy.com) 下载 GitHub 文件,请稍后... ------------------------------' # curl -O https://ghproxy.com/$1 # curl -O https://mirror.ghproxy.com/$1 - curl -O https://github.moeyy.xyz/$1 + wget https://github.moeyy.xyz/$1 } # 执行方法 @@ -34,6 +34,7 @@ case $1 in version ;; *) - download() +# download + wget https://github.moeyy.xyz/$1 ;; esac