#!/bin/bash
. findwine
if [ -e "$WINEDIR/c/Program Files/UP/up.exe" ]; then
  $WINE "c:\\Program Files\\UP\up.exe" ${PARAM:+"$PARAM"} &>/dev/null &
else
  $WINE "c:\\Program Files\\UP\upaint.exe" ${PARAM:+"$PARAM"} &>/dev/null &
fi
wait $!
