#!/bin/bash set -e cd -- "$(dirname -- "$0")" PYTHON="$(command -v python3.12 || command -v python3.11 || true)" if [ -z "$PYTHON" ]; then echo 'Install Python 3.12 from python.org, then run this installer again.' read -r -p 'Press Return to close.' exit 1 fi "$PYTHON" -m venv .venv .venv/bin/python -m pip install -r requirements.txt exec .venv/bin/python app.py