Update t.sh

Former-commit-id: 838e01aeb317de7f0164a0824331fce3cc01c329
This commit is contained in:
fscarmen
2021-10-09 21:46:35 +08:00
committed by GitHub
parent 719575cdcc
commit 4a67f0aa96
+1 -1
View File
@@ -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] "