mirror of
https://gh-proxy.org/https://github.com/klinsmaya/ClawX.git
synced 2026-11-09 21:09:49 +08:00
Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: Haze <[email protected]>
22 lines
507 B
Bash
22 lines
507 B
Bash
#!/bin/bash
|
|
|
|
# Post-removal script for ClawX on Linux
|
|
|
|
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
|
|
|
|
# Update desktop database
|
|
if command -v update-desktop-database &> /dev/null; then
|
|
update-desktop-database -q /usr/share/applications || true
|
|
fi
|
|
|
|
# Update icon cache
|
|
if command -v gtk-update-icon-cache &> /dev/null; then
|
|
gtk-update-icon-cache -q /usr/share/icons/hicolor || true
|
|
fi
|
|
|
|
echo "ClawX has been removed."
|