first commit

This commit is contained in:
drjones
2026-05-23 21:58:06 -07:00
commit 1f5e63ca1f
73 changed files with 13565 additions and 0 deletions

26
scripts/run_proxy_god.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"
TK_PY="$("$ROOT/scripts/find_tk_python.sh")"
needs_rebuild=0
if [[ ! -x ".venv/bin/python" ]]; then
needs_rebuild=1
elif ! ".venv/bin/python" - <<'PY' >/dev/null 2>&1
import tkinter
PY
then
needs_rebuild=1
fi
if [[ "$needs_rebuild" == "1" ]]; then
rm -rf .venv
"$TK_PY" -m venv .venv
fi
".venv/bin/python" -m pip install --upgrade pip >/dev/null
".venv/bin/python" -m pip install -r requirements.txt >/dev/null
exec ".venv/bin/python" run.py