Update warp6.sh

Former-commit-id: 5f1b28a75f9305a3b72a59de50074345021c0959
This commit is contained in:
fscarmen
2021-10-05 07:36:07 +08:00
committed by GitHub
parent 1393de5f13
commit 41b6527aaf
+1 -1
View File
@@ -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