mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-24 15:12:39 +08:00
Update warp6.sh
Former-commit-id: 5f1b28a75f9305a3b72a59de50074345021c0959
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user