#!/bin/sh
# The mollusk launcher (installed as mollusk/mollusk). Finds its own folder
# even when started through the /usr/local/bin link, and runs the app with
# the Qt libraries shipped beside it.
here=$(dirname "$(readlink -f "$0")")
LD_LIBRARY_PATH="$here/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
exec "$here/bin/mollusk" "$@"
