mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-25 15:42:40 +08:00
Update t.sh
Former-commit-id: b8bee957b79f3fb0524b596271e5013b25c369ce
This commit is contained in:
@@ -231,8 +231,8 @@ uninstall(){
|
||||
}
|
||||
|
||||
# 根据已安装情况执行卸载任务并显示结果
|
||||
[[ $(type -P wg-quick) ]] && (uninstall_wgcf; [[ ! $(type -P wg-quick) ]] && green " $T117 " || red " $T118 ")
|
||||
[[ $(type -P warp-cli) ]] && (uninstall_proxy; [[ ! $(type -P warp-cli) ]] && green " $T119 " || red " $T120 ")
|
||||
[[ $(type -P wg-quick) ]] && (uninstall_wgcf; [[ -z $(type -P wg-quick) ]] && green " $T117 " || red " $T118 ")
|
||||
[[ $(type -P warp-cli) ]] && (uninstall_proxy; [[ -z $(type -P warp-cli) ]] && green " $T119 " || red " $T120 ")
|
||||
|
||||
# 显示卸载结果
|
||||
IP4=$(curl -s4m7 https://ip.gs/json)
|
||||
|
||||
Reference in New Issue
Block a user