#!/bin/sh

set -C
set -e
set -f
set -u

ROOT=
WINEPREFIX="${ROOT}"/wine
WINEARCH=win32

export WINEPREFIX
export WINEARCH

if test $# -eq 0; then
    set -- wine "${ROOT}/chummer/Chummer5.exe"
fi

exec "$@"
