#!/bin/sh
# JA2 Native Port installer entry point (Linux x86_64 / aarch64). Unofficial fan project: no game data is
# included or downloaded; it installs from your own copy of Jagged Alliance 2. See README.md and docs/user-guide.md.
# Needs python3 (3.8+). Everything else is checked by the installer itself. --help lists the options.
here=$(cd "$(dirname "$0")" && pwd)
if ! command -v python3 >/dev/null 2>&1; then
  echo "ja2n-install: python3 is required (e.g. apt install python3 | dnf install python3 | pacman -S python)" >&2
  exit 3
fi
exec python3 "$here/lib/ja2n_install.py" "$@"
