This commit is contained in:
richarjiang
2026-09-24 10:04:41 +08:00
commit eae4df7d51
24 changed files with 2212 additions and 0 deletions

12
uninstall.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
HOME_DIR="${LAYA_ROUTER_HOME:-$HOME/.laya-router}"
BIN="$HOME_DIR/.venv/bin/laya-router"
if [[ ! -x "$BIN" ]]; then
echo "未找到 $BIN。如果服务仍在运行,可执行: launchctl bootout gui/$(id -u)/com.laya-router" >&2
exit 1
fi
exec "$BIN" uninstall "$@"