#! /usr/bin/env bash # make sure errors in sourced scripts will cause this script to stop set -e this_dir="$(readlink -f "$(dirname "$0")")" source "$this_dir"/apprun-hooks/"AppRun-hook" exec "$this_dir"/AppRun.wrapped "$@"