From a467160bbea46e258c4159f927c48747fee556e5 Mon Sep 17 00:00:00 2001 From: Sarina Date: Mon, 22 Jul 2024 17:21:27 +0330 Subject: [PATCH] Uninstall warp while uninstalling hysteria2 --- core/scripts/hysteria2/uninstall.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/scripts/hysteria2/uninstall.sh b/core/scripts/hysteria2/uninstall.sh index 5265833..b5f0371 100644 --- a/core/scripts/hysteria2/uninstall.sh +++ b/core/scripts/hysteria2/uninstall.sh @@ -1,8 +1,12 @@ +source /etc/hysteria/core/scripts/path.sh + echo "Uninstalling Hysteria2..." sleep 1 echo "Running uninstallation script..." bash <(curl -fsSL https://get.hy2.sh/) --remove >/dev/null 2>&1 sleep 1 +echo "Removing WARP" +python3 $CLI_PATH uninstall-warp echo "Removing Hysteria folder..." rm -rf /etc/hysteria >/dev/null 2>&1 sleep 1