feat: prepare Zhinian desktop client for pilot release
This commit is contained in:
@@ -6,7 +6,13 @@ set -e
|
||||
|
||||
# Remove symbolic links
|
||||
rm -f /usr/local/bin/clawx 2>/dev/null || true
|
||||
rm -f /usr/local/bin/openclaw 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"
|
||||
if [ "$(readlink /usr/local/bin/openclaw 2>/dev/null || true)" = "$OPENCLAW_WRAPPER" ]; then
|
||||
rm -f /usr/local/bin/openclaw 2>/dev/null || true
|
||||
fi
|
||||
|
||||
# Update desktop database
|
||||
if command -v update-desktop-database &> /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user