#!/bin/sh # cwr-ce — launcher for PoseidonGame (Arma: Cold War Assault Remastered CE). # # Resolves the data root (from $CWR_DATA or the default per-user path), # verifies a minimal sentinel file exists, then execs PoseidonGame with # -C and forwards any remaining arguments. set -u DATA_ROOT="${CWR_DATA:-${HOME}/.local/share/CWR/base}" # The Steam Demo ships bin/CONFIG.BIN (uppercase); an overlay-installed layout # may lowercase it. Accept either — the engine itself is case-insensitive. if [ -f "${DATA_ROOT}/bin/config.bin" ] || [ -f "${DATA_ROOT}/bin/CONFIG.BIN" ]; then : else cat >&2 <