if [ $# -lt 1 ] && [ $# -gt 2 ]; then
echo "usage: make-dmg <path-to-app> [packagename]"
if [ ! -e $app_path ]; then
echo "file $app_path not found..."
readonly OS_VERSION=$(uname -r | awk -F. '{print $1}')
readonly OS_X_VERSION="14.0"
readonly OS_X_VERSION="13.0"
readonly OS_X_VERSION="12.0"
readonly OS_X_VERSION="11.0"
readonly OS_X_VERSION="10.15"
readonly OS_X_VERSION="10.14"
readonly OS_X_VERSION="10.13"
readonly OS_X_VERSION="10.12"
readonly OS_X_VERSION="10.11"
readonly OS_X_VERSION="10.10"
readonly OS_X_VERSION="10.9"
readonly OS_X_VERSION="10.6"
readonly OS_X_VERSION="10.7"
readonly OS_X_VERSION="10.8"
echo "ERROR: Unknown OS X version."