#!/bin/sh
# Dungeon Blitz for Linux: starts the launcher (Python 3) from this folder.
DIR="$(cd "$(dirname "$0")" && pwd)"
if ! command -v python3 >/dev/null 2>&1; then
    MSG="Dungeon Blitz needs Python 3. Install it, for example: sudo apt install python3"
    command -v zenity >/dev/null 2>&1 && zenity --error --title "Dungeon Blitz" --text "$MSG"
    echo "$MSG" >&2
    exit 1
fi
exec python3 "$DIR/launcher.py" "$@"
