Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
project_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$project_dir"
|
||||
if [[ -n "${S10_PYTHON:-}" && -x "${S10_PYTHON}" ]]; then
|
||||
gui_python="$S10_PYTHON"
|
||||
elif [[ -x "$project_dir/.venv/bin/python" ]]; then
|
||||
gui_python="$project_dir/.venv/bin/python"
|
||||
else
|
||||
gui_python=python
|
||||
fi
|
||||
export OMP_NUM_THREADS="${OMP_NUM_THREADS:-1}"
|
||||
exec "$gui_python" scripts/play_gui.py "$@"
|
||||
Reference in New Issue
Block a user