From 3e031ad33410f53a4381bc35fbce5c9e54059cab Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 24 May 2023 11:44:44 +0100 Subject: [PATCH] Include the architecture name in the macOS DMG, in preparation for native M1 support. --- pkg/mac/build-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/mac/build-functions.sh b/pkg/mac/build-functions.sh index 44dca9327..ca835b6ee 100644 --- a/pkg/mac/build-functions.sh +++ b/pkg/mac/build-functions.sh @@ -11,7 +11,7 @@ _setup_env() { APP_LONG_VERSION=${APP_LONG_VERSION}-${APP_SUFFIX} fi BUNDLE_DIR="${BUILD_ROOT}/${APP_NAME}.app" - DMG_NAME="${DIST_ROOT}"/$(echo "${APP_NAME}" | sed 's/ //g' | awk '{print tolower($0)}')-"${APP_LONG_VERSION}.dmg" + DMG_NAME="${DIST_ROOT}"/$(echo "${APP_NAME}" | sed 's/ //g' | awk '{print tolower($0)}')-"${APP_LONG_VERSION}-$(uname -m).dmg" PYTHON_OS_VERSION="11" }