docs: keep Chinese README and refresh screenshots
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-05-07 22:22:27 +08:00
parent 84fb5950a0
commit e949aa2802
43 changed files with 69 additions and 65 deletions

View File

@@ -1,15 +1,15 @@
#!/bin/bash
# Post-removal script for ClawX on Linux
# Post-removal script for Zhinian Assistant on Linux
set -e
# Remove symbolic links
rm -f /usr/local/bin/clawx 2>/dev/null || true
rm -f /usr/local/bin/zhinian-assistant 2>/dev/null || true
# Only remove the app-managed OpenClaw CLI wrapper. If the user had OpenClaw
# installed separately, leave their command and ~/.openclaw data untouched.
OPENCLAW_WRAPPER="/opt/ClawX/resources/cli/openclaw"
OPENCLAW_WRAPPER="/opt/智念助手/resources/cli/openclaw"
if [ "$(readlink /usr/local/bin/openclaw 2>/dev/null || true)" = "$OPENCLAW_WRAPPER" ]; then
rm -f /usr/local/bin/openclaw 2>/dev/null || true
fi
@@ -25,9 +25,9 @@ if command -v gtk-update-icon-cache &> /dev/null; then
fi
# Remove AppArmor profile
APPARMOR_PROFILE_TARGET='/etc/apparmor.d/clawx'
APPARMOR_PROFILE_TARGET='/etc/apparmor.d/zhinian-assistant'
if [ -f "$APPARMOR_PROFILE_TARGET" ]; then
rm -f "$APPARMOR_PROFILE_TARGET"
fi
echo "ClawX has been removed."
echo "Zhinian Assistant has been removed."