#!/bin/bash

URL="https://canaima-host.local/canaima_host/admin"

if command -v chromium &> /dev/null; then
    chromium --app="$URL" --class="canaima-host" &
elif command -v google-chrome &> /dev/null; then
    google-chrome --app="$URL" --class="canaima-host" &
elif command -v firefox &> /dev/null; then
    firefox --new-window "$URL" &
else
    xdg-open "$URL" &
fi
