#!/bin/sh
# Started by 0 A.D. (replay_pallas mod) when the game starts and the helper is
# not running: runs the helper in the background (no window, no Dock icon)
# until the game is closed. To start the helper by hand use start_helper.command.
PATH="$PATH:/usr/local/bin:/opt/homebrew/bin:/Library/Frameworks/Python.framework/Versions/Current/bin"
cd "$(dirname "$0")/../../.." || exit 1
. ./find_python.sh
[ -n "$PY" ] || exit 1
exec "$PY" -I -B replay_pallas_sync.py serve --with-game >/dev/null 2>&1
