mirror of
https://github.com/tradecatlabs/vibe-coding-cn.git
synced 2026-08-02 21:57:44 +00:00
11 lines
243 B
Bash
Executable File
11 lines
243 B
Bash
Executable File
#!/bin/bash
|
|
DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
if [ -x "$DIR/bin/btop" ]; then
|
|
exec "$DIR/bin/btop" "$@"
|
|
elif [ -x "$DIR/build/btop" ]; then
|
|
exec "$DIR/build/btop" "$@"
|
|
else
|
|
echo "btop binary not found; run make first" >&2
|
|
exit 1
|
|
fi
|