#!/bin/bash set -e SCRIPTPATH="$(cd $(dirname "$0") && pwd)" APPNAME="t32marm-qt" # t32marm64-qt is deprecated, use t32marm-qt instead APPPATH="${SCRIPTPATH}/${APPNAME}.app/Contents/MacOS/${APPNAME}" echo "Warning: TRACE32 PowerView script t32marm64-qt is deprecated." echo "Warning: The t32marm64.app was replaced by a new consolidated t32marm.app, which now supports both 32-bit and 64-bit CPUs." echo "Warning: Please change the executable name accordingly in your preferred start method(s)" echo "Warning: e.g. shortcut properties, shell scripts, ..." echo "Warning: For details please visit: https://www.lauterbach.com/3264" if [ ! -x "${APPPATH}" ]; then echo "Bundle ${SCRIPTPATH}/${APPNAME}.app missing or corrupted." exit 1 fi exec open "${SCRIPTPATH}/${APPNAME}.app" -n --args "$@" # Alternative method: # # exec "${APPPATH}" "$@"