openclaw/contrib/macos-control-panel/install.sh
mannyrepos 215803b4d4 Add native macOS control panel for non-technical users
Adds a SwiftUI-based GUI application that provides:
- Start/Stop/Restart controls for the gateway
- Real-time status monitoring (CPU, memory, uptime)
- Log viewer with search
- Health check integration (clawdbot doctor)
- Channel status display
- Menu bar quick access
- Auto-start on login option
- System notifications

Built for users who prefer a graphical interface over terminal commands.
2026-01-26 01:40:21 -08:00

24 lines
652 B
Bash
Executable File

#!/bin/bash
set -e
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
# Build first
"$SCRIPT_DIR/build.sh"
# Install to Applications
echo "Installing to /Applications..."
rm -rf "/Applications/Clawdbot Control.app"
cp -R "$SCRIPT_DIR/build/Clawdbot Control.app" /Applications/
# Register with Launch Services
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f "/Applications/Clawdbot Control.app"
echo ""
echo "Installation complete."
echo ""
echo "You can now:"
echo " - Open from Spotlight (Cmd+Space, type 'Clawdbot')"
echo " - Open from Applications folder"
echo " - Use the menu bar icon"