From a994bdbde2bdfbf50cce7eef0479cab676544361 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:26:16 +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 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ghd b/ghd index 1123d22..d9f76f2 100755 --- a/ghd +++ b/ghd @@ -4,7 +4,7 @@ # 相关参数 ## 版本号 -VERSION=0.2.0 +VERSION=0.3.0 # 相关方法 ## 帮助 @@ -20,7 +20,9 @@ version () { ## 下载文件 download () { echo '------------------------------ 正在通过 GitHub Proxy (https://ghproxy.com) 下载 GitHub 文件,请稍后... ------------------------------' - curl -O https://mirror.ghproxy.com/$1 +# curl -O https://ghproxy.com/$1 +# curl -O https://mirror.ghproxy.com/$1 + curl -O https://github.moeyy.xyz/$1 } # 执行方法 @@ -32,7 +34,6 @@ case $1 in version ;; *) - curl -O https://mirror.ghproxy.com/$1 -# download() + download() ;; esac