#!/bin/sh

GAME_LOCAL_DIR=$HOME/.supermodel
GAME_EXECUTABLE=/usr/lib/supermodel

mkdir -p "$GAME_LOCAL_DIR/NVRAM"
mkdir -p "$GAME_LOCAL_DIR/saves"

cd /usr/lib

if [[ ! -f $GAME_LOCAL_DIR/supermodel.ini ]]; then
    cp -r /usr/share/supermodel/Config $GAME_LOCAL_DIR
fi

./supermodel "$@"

