diff options
| author | veradec <glitchmill.dyj3d@simplelogin.co> | 2026-10-25 22:06:42 +0530 |
|---|---|---|
| committer | veradec <glitchmill.dyj3d@simplelogin.co> | 2026-10-25 22:06:42 +0530 |
| commit | b518cd156166b16d8c7acca8e63efc65ebe13383 (patch) | |
| tree | 1ebc1fa6367f47e738162a048c246de12cb96862 /radio-tui | |
Diffstat (limited to 'radio-tui')
| -rwxr-xr-x | radio-tui | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/radio-tui b/radio-tui new file mode 100755 index 0000000..94a1e40 --- /dev/null +++ b/radio-tui @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -euo pipefail + +ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +VENV="$ROOT/.venv" + +if [[ ! -d "$VENV" ]]; then + python3 -m venv "$VENV" + "$VENV/bin/pip" install -q -r "$ROOT/requirements.txt" +fi + +exec "$VENV/bin/python" -m radio_tui "$@" |
