#!/bin/bash
FULL_PATH=`readlink -f "$0"`
APP_DIR=`dirname  "$FULL_PATH"`
export APP_DIR
if [[ -z $1  || ! -d $1 ]] ; then
  exec gxmessage -center Drop a Folder onto the Duk icon to make a treemap
fi
exec $APP_DIR/browserduk "$1"
