Include the architecture name in the macOS DMG, in preparation for native M1 support.

This commit is contained in:
Dave Page
2023-05-24 11:44:44 +01:00
committed by GitHub
parent 75cbf9165e
commit 3e031ad334
+1 -1
View File
@@ -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"
}