#!/bin/sh

DIR=/usr/share/lucidor

if which xulrunner; then
    xulrunner $DIR/application.ini "$@";
elif which firefox; then
    firefox -app $DIR/application.ini "$@";
elif which iceweasel; then
    iceweasel -app $DIR/application.ini "$@";
elif which abrowser; then
    abrowser -app $DIR/application.ini "$@";
else
    echo "Could not find XULRunner runtime engine."
    exit 1;
fi
