mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-24 15:12:39 +08:00
Update t.sh
Former-commit-id: 838e01aeb317de7f0164a0824331fce3cc01c329
This commit is contained in:
@@ -335,7 +335,7 @@ update() {
|
||||
|
||||
# 同步脚本至最新版本
|
||||
ver(){
|
||||
wget -N $CDN -P /etc/wireguard/ https://cdn.jsdelivr.net/gh/fscarmen/warp/menu.sh &&
|
||||
wget -N $CDN -P /etc/wireguard https://cdn.jsdelivr.net/gh/fscarmen/warp/menu.sh &&
|
||||
chmod +700 menu.sh &&
|
||||
cp -f menu.sh /usr/bin/warp &&
|
||||
green " 成功!已同步最新脚本,版本号:$VERSION " || red " 升级失败,问题反馈:[https://github.com/fscarmen/warp/issues] "
|
||||
|
||||
Reference in New Issue
Block a user