mirror of
https://github.com/KANIKIG/Multi-EasyGost.git
synced 2025-08-10 00:52:32 +00:00
Update gost.sh
简单改了下gost版本号
This commit is contained in:
2
gost.sh
2
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}"
|
||||
|
||||
Reference in New Issue
Block a user