mirror of
https://github.com/FBukovina/burn-baby-burn.git
synced 2026-10-29 08:04:31 +00:00
Add TUI launch support and Codex install updates
This commit is contained in:
parent
d249712b13
commit
4246999931
3 changed files with 994 additions and 8 deletions
|
|
@ -10,13 +10,15 @@ mkdir -p "$DEST_DIR"
|
|||
curl -fsSL "$BASE_URL/burn" -o "$DEST_DIR/burn"
|
||||
# Sourced by burn when using --backend codex to compute estimated cost.
|
||||
curl -fsSL "$BASE_URL/codex_rates.sh" -o "$DEST_DIR/codex_rates.sh"
|
||||
chmod +x "$DEST_DIR/burn"
|
||||
curl -fsSL "$BASE_URL/tui.js" -o "$DEST_DIR/tui.js"
|
||||
chmod +x "$DEST_DIR/burn" "$DEST_DIR/tui.js"
|
||||
|
||||
echo "✅ installed burn → $DEST_DIR/burn"
|
||||
|
||||
case ":${PATH}:" in
|
||||
*":${DEST_DIR}:"*)
|
||||
echo "🔥 ready to go: run 'burn 10000' to torch some tokens."
|
||||
echo "🕹️ or run 'burn' with no arguments to open the TUI."
|
||||
;;
|
||||
*)
|
||||
echo
|
||||
|
|
@ -25,6 +27,6 @@ case ":${PATH}:" in
|
|||
echo
|
||||
echo " export PATH=\"\$HOME/.local/bin:\$PATH\""
|
||||
echo
|
||||
echo " then reload your shell and run 'burn 10000'."
|
||||
echo " then reload your shell and run 'burn 10000' or just 'burn' for the TUI."
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue