#!/bin/sh
HERE="$(dirname "$(readlink -f "${0}")")"
APP_PATH="$HERE/index.html"
if which google-chrome >/dev/null 2>&1; then
    google-chrome --app="file://$APP_PATH" --window-size=1366,850 "$@" &
elif which chromium-browser >/dev/null 2>&1; then
    chromium-browser --app="file://$APP_PATH" --window-size=1366,850 "$@" &
else
    xdg-open "file://$APP_PATH" &
fi
