mirror of
https://github.com/calesthio/OpenMontage.git
synced 2026-08-05 15:20:40 +08:00
11 lines
242 B
Bash
11 lines
242 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
if command -v python3 >/dev/null 2>&1; then
|
|
exec python3 "$SCRIPT_DIR/render_demo.py" "$@"
|
|
fi
|
|
|
|
exec python "$SCRIPT_DIR/render_demo.py" "$@"
|