#!/bin/bash

[ -z "${DRIZZLE_NAME}" ] && DRIZZLE_NAME="Drizzle"

CONFIGDIR="${HOME}/.config/drizzle"
mkdir -p "${CONFIGDIR}"
cd "${CONFIGDIR}"

exec java -Xmx800m \
-DDrizzle.IsLauncher=false \
-Dcom.apple.mrj.application.apple.menu.about.name="${DRIZZLE_NAME}" \
-Xdock:name="${DRIZZLE_NAME}" \
-jar "@PREFIX@/share/java/drizzle.jar"
