From 811c1be3b993b90bce54d9ce1620c253c0578d5c Mon Sep 17 00:00:00 2001 From: stswangzhiping <59632378+stswangzhiping@users.noreply.github.com> Date: Mon, 4 May 2026 20:17:19 +0800 Subject: [PATCH] fix: remove service file rewrite from update-clawd.sh; bump to 1.3.1 Co-authored-by: Cursor --- package.json | 2 +- tools/update-clawd.sh | 50 ------------------------------------------- 2 files changed, 1 insertion(+), 51 deletions(-) diff --git a/package.json b/package.json index 11a9688..e5e2506 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clawd", - "version": "1.3.0", + "version": "1.3.1", "description": "Claw Box daemon - connects local Linux box to claw.cutos.ai via WebSocket", "main": "lib/client.js", "bin": { diff --git a/tools/update-clawd.sh b/tools/update-clawd.sh index 7ed4700..a617e96 100644 --- a/tools/update-clawd.sh +++ b/tools/update-clawd.sh @@ -71,56 +71,6 @@ fi echo "==> Current commit:" git log --oneline -1 -NODE_BIN=$(command -v node) -INSTALL_DIR="/opt/clawd" -CONFIG_DIR="/etc/clawd" -ENV_FILE="$CONFIG_DIR/env" -SERVICE_FILE="/etc/systemd/system/$SERVICE" - -echo "==> Writing service file: $SERVICE_FILE" -cat > "$SERVICE_FILE" < daemon-reload done" - if [ "$NO_RESTART" = true ]; then echo "==> --no-restart: skip systemctl restart (caller handles restart)" exit 0