diff --git a/old/warp6.sh b/old/warp6.sh index 364710a..d58a101 100644 --- a/old/warp6.sh +++ b/old/warp6.sh @@ -81,7 +81,7 @@ fi latest=$(wget --no-check-certificate -qO- -t1 -T2 "https://api.github.com/repos/ViRb3/wgcf/releases/latest" | grep "tag_name" | head -n 1 | awk -F ":" '{print $2}' | sed 's/\"//g;s/v//g;s/,//g;s/ //g') # 安装 wgcf -sudo wget --no-check-certificate -N -O /usr/local/bin/wgcf https://github.com/ViRb3/wgcf/releases/download/v$latest/wgcf_${latest}_linux_$architecture +sudo wget --no-check-certificate -N -4 -O /usr/local/bin/wgcf https://github.com/ViRb3/wgcf/releases/download/v$latest/wgcf_${latest}_linux_$architecture # 添加执行权限 sudo chmod +x /usr/local/bin/wgcf