mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 13:28:30 +00:00
11 lines
267 B
Bash
Executable File
11 lines
267 B
Bash
Executable File
#!/usr/bin/env bash
|
|
BASE_DIR="$(cd "$(dirname "$(readlink -f "$0")")" && pwd)"
|
|
|
|
if command -v python3 >/dev/null 2>&1; then
|
|
PYTHON_BIN="python3"
|
|
else
|
|
PYTHON_BIN="$BASE_DIR/Python/bin/python3"
|
|
fi
|
|
|
|
PYTHONPATH="$BASE_DIR/src" exec "$PYTHON_BIN" -m dcr.main "$@"
|