#!/bin/sh

. /etc/blackPanther-default-apps.conf
echo 
echo -e "$MAG * XMind Running on blackPanther OS.. $YEL(www.blackpantheros.eu) $DEF"
echo
cd /usr/share/xmind/XMind_Linux
if [ ! -f $HOME/.xmind/configuration/config.ini ];then
    echo -en "Create XMind configuration on first start..."
    mkdir -p $HOME/.xmind/configuration 
    cp -rf ./configuration/* $HOME/.xmind/configuration/
    echo -e "[ done ]"
    else
    echo -en "XMind configuration exists..."
    
fi	
./XMind  -configuration /home/$(whoami)/.xmind/configuration -data /home/$(whoami)/xmind-workspace $@
cd /
