#!/bin/sh
CONFIGDIR=$HOME"/.config/powdertoy"

if [ ! -e $CONFIGDIR ];
then
    echo -e "Creating the config directory for The Powder Toy in\n$CONFIGDIR"
    mkdir -p $CONFIGDIR
fi

pushd $CONFIGDIR
exec /usr/libexec/powdertoy/powder $@
popd
