Files
CleanMM/bin/status.sh

16 lines
372 B
Bash
Raw Normal View History

2025-11-21 17:58:31 +08:00
#!/bin/bash
# Mole - Status command.
# Runs the Go system status panel.
# Shows live system metrics.
2025-11-21 17:58:31 +08:00
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
GO_BIN="$SCRIPT_DIR/status-go"
if [[ -x "$GO_BIN" ]]; then
exec "$GO_BIN" "$@"
fi
echo "Bundled status binary not found. Please reinstall Mole or run mo update to restore it." >&2
exit 1