Uninstall warp while uninstalling hysteria2

This commit is contained in:
Sarina
2024-07-22 17:21:27 +03:30
parent c8f125f7c1
commit a467160bbe

View File

@ -1,8 +1,12 @@
source /etc/hysteria/core/scripts/path.sh
echo "Uninstalling Hysteria2..." echo "Uninstalling Hysteria2..."
sleep 1 sleep 1
echo "Running uninstallation script..." echo "Running uninstallation script..."
bash <(curl -fsSL https://get.hy2.sh/) --remove >/dev/null 2>&1 bash <(curl -fsSL https://get.hy2.sh/) --remove >/dev/null 2>&1
sleep 1 sleep 1
echo "Removing WARP"
python3 $CLI_PATH uninstall-warp
echo "Removing Hysteria folder..." echo "Removing Hysteria folder..."
rm -rf /etc/hysteria >/dev/null 2>&1 rm -rf /etc/hysteria >/dev/null 2>&1
sleep 1 sleep 1