From ab3a83d708598de5300d562e9b5afc76aebf93cd Mon Sep 17 00:00:00 2001 From: KANIKIG <56707641+KANIKIG@users.noreply.github.com> Date: Sun, 1 May 2022 21:21:55 +0800 Subject: [PATCH] Update gost.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 简单改了下gost版本号 --- gost.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gost.sh b/gost.sh index da27582..f5b4546 100755 --- a/gost.sh +++ b/gost.sh @@ -63,7 +63,7 @@ function check_root() { function check_new_ver() { ct_new_ver=$(wget --no-check-certificate -qO- -t2 -T3 https://api.github.com/repos/ginuerzh/gost/releases/latest | grep "tag_name" | head -n 1 | awk -F ":" '{print $2}' | sed 's/\"//g;s/,//g;s/ //g;s/v//g') if [[ -z ${ct_new_ver} ]]; then - ct_new_ver="2.11.1" + ct_new_ver="2.11.2" echo -e "${Error} gost 最新版本获取失败,正在下载v${ct_new_ver}版" else echo -e "${Info} gost 目前最新版本为 ${ct_new_ver}"