Warp to Galaxy internal rebrand

This commit is contained in:
2026-08-27 00:29:21 -05:00
parent d72874534d
commit a69b927cc3
108 changed files with 395 additions and 2098 deletions
+5 -16
View File
@@ -2,29 +2,18 @@
#
# Run a local `warp_tui` build.
#
# Selects the internal `local` channel when the `warp-channel-config` generator
# is available (mirroring `./script/run`), otherwise falls back to the OSS
# channel so contributors without repo access can still run the TUI. Unlike the
# GUI `./script/run`, the TUI is a console binary, so there is no `.app` bundle
# step — it just runs the appropriate `cargo` binary.
# Runs the OSS TUI binary. Unlike the GUI `./script/run`, the TUI is a
# console binary, so there is no `.app` bundle step.
#
# Extra arguments are forwarded to `cargo run` (e.g. `--release`); use `--` to
# pass arguments through to the binary itself.
# Extra arguments are forwarded to `cargo run` (e.g. `--release`).
set -e
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)"
cd "${REPO_ROOT}"
./script/install_channel_config || echo "Skipping internal channel config installation (no repo access)."
if command -v warp-channel-config &>/dev/null; then
BIN="warp-tui"
CHANNEL="local"
else
BIN="warp-tui-oss"
CHANNEL="oss"
fi
BIN="warp-tui-oss"
CHANNEL="oss"
echo "Running cargo run -p warp_tui --bin ${BIN} (channel: ${CHANNEL})"
exec cargo run -p warp_tui --bin "${BIN}" "$@"