#!/bin/sh

APPDIR="/usr/lib/nejlepsi-kalkulacka-ever"

export LD_LIBRARY_PATH="${APPDIR}:${LD_LIBRARY_PATH}"
export QT_PLUGIN_PATH="${APPDIR}/plugins"
export QT_QPA_PLATFORM_PLUGIN_PATH="${APPDIR}/plugins/platforms"
export QT_QPA_PLATFORM="xcb"

exec "${APPDIR}/bin/calculator" "$@"