mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-15 03:25:42 +08:00
Update WGCF to V2.2.14 Official Edition
Former-commit-id: 7720f1f3805a9c11eec81183eeb7d6ed730207b2
This commit is contained in:
@@ -254,7 +254,7 @@ install(){
|
||||
# 判断 wgcf 的最新版本并安装
|
||||
green "\n ${T[${L}11]}\n "
|
||||
latest=$(curl -fsSL "https://api.github.com/repos/ViRb3/wgcf/releases/latest" | grep "tag_name" | head -n 1 | cut -d : -f2 | sed 's/[ \"v,]//g')
|
||||
latest=${latest:-'2.2.13'}
|
||||
latest=${latest:-'2.2.14'}
|
||||
[[ ! -e /usr/local/bin/wgcf ]] && curl -o /usr/local/bin/wgcf https://raw.githubusercontents.com/fscarmen/warp/main/wgcf/wgcf_"$latest"_darwin_"$ARCHITECTURE"
|
||||
|
||||
# 安装 wireguard-go
|
||||
|
||||
Reference in New Issue
Block a user