commit c25e037b01e4254391f1f43305b4708946e4ba41
parent c673b561f513f7ac4cb4633192a772868fea9700
Author: Enver Yilmaz <7890684+Enver-Yilmaz@users.noreply.github.com>
Date: Sun, 30 Apr 2023 06:55:18 +0100
macOS package universal binary fix (#188)
hostArchitectures="arm64,x86_64" option is added to the distribution.xml of the macOS package to remove rosetta dependency.
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/NeuralAmpModeler/scripts/makeinstaller-mac.sh b/NeuralAmpModeler/scripts/makeinstaller-mac.sh
@@ -157,7 +157,7 @@ cat > ${TARGET_DIR}/distribution.xml << XMLEND
${AAX_PKG_REF}
${APP_PKG_REF}
${RES_PKG_REF}
- <options require-scripts="false" customize="always" />
+ <options require-scripts="false" customize="always" hostArchitectures="arm64,x86_64"/>
<choices-outline>
${VST2_CHOICE}
${VST3_CHOICE}
@@ -181,4 +181,4 @@ XMLEND
productbuild --distribution ${TARGET_DIR}/distribution.xml --package-path ${PKG_DIR} "${TARGET_DIR}/$OUTPUT_BASE_FILENAME"
rm ${TARGET_DIR}/distribution.xml
-rm -r $PKG_DIR
-\ No newline at end of file
+rm -r $PKG_DIR