mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-04 21:33:58 +08:00
13 lines
358 B
Bash
Executable File
13 lines
358 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
# RoadScore owns its replay/audio lifecycle only when explicitly requested.
|
|
for argument in "$@"; do
|
|
if [[ "$argument" == "--roadscore" ]]; then
|
|
exec "${ROOT_DIR}/roadscore/onroad" "$@"
|
|
fi
|
|
done
|
|
exec "${ROOT_DIR}/scripts/host_tool_runner.sh" onroad "$@"
|