#!/bin/sh
if [ -d /home/user/MyDocs/.spearofdestiny ];
then
	cd /home/user/MyDocs/.spearofdestiny
	/opt/spearofdestiny/keyon
	/opt/spearofdestiny/spearofdestiny
	/opt/spearofdestiny/keyoff
else

	if [ -d /home/user/MyDocs/spearofdestiny ];
	then
		cd /home/user/MyDocs/spearofdestiny
		/opt/spearofdestiny/spearofdestiny
	else
		dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint 		string:"Spear of Destiny error: Please install game data files to run the game."
	fi
fi
