Update uninstall.sh

This commit is contained in:
Arvin
2026-03-21 14:25:40 +08:00
parent d921d1ced1
commit 5636d9e41d

View File

@ -3,7 +3,7 @@ set -euo pipefail
SERVICE_NAME="clash-for-linux" SERVICE_NAME="clash-for-linux"
UNIT_PATH="/etc/systemd/system/${SERVICE_NAME}.service" UNIT_PATH="/etc/systemd/system/${SERVICE_NAME}.service"
INSTALL_DIR="${CLASH_INSTALL_DIR:-/opt/clash-for-linux}" INSTALL_DIR="${CLASH_INSTALL_DIR:-$(cd "$(dirname "$0")" && pwd)}"
CLASHCTL_LINK="/usr/local/bin/clashctl" CLASHCTL_LINK="/usr/local/bin/clashctl"
PROFILED_FILE="/etc/profile.d/clash-for-linux.sh" PROFILED_FILE="/etc/profile.d/clash-for-linux.sh"