4 curdir=`dirname "$progname"`
5 app_ini="$curdir/xulapp/application.ini"
7 if test -e "/opt/xulrunner-trunk/xulrunner"; then
8 xulrunner="/opt/xulrunner-trunk/xulrunner"
10 if test -z "$xulrunner" && test -e "/opt/firefox-trunk/firefox"; then
11 xulrunner="/opt/firefox-trunk/firefox"
13 if test -z "$xulrunner" && test -e "/usr/local/xulrunner/xulrunner"; then
14 xulrunner="/usr/local/xulrunner/xulrunner"
16 if test -z "$xulrunner"; then
17 if test -n `which xulrunner`; then
18 xulrunner=`which xulrunner`
20 echo "XULRunner not found!"
25 # add -jsconsole for debugging
27 $xulrunner --app $app_ini -jsconsole