From 0a749d2d88fb62a3223e307cd13365d1440bd2a5 Mon Sep 17 00:00:00 2001 From: Mbucari <37587114+Mbucari@users.noreply.github.com> Date: Fri, 25 Oct 2024 10:51:56 -0600 Subject: [PATCH] Update Bundle_MacOS.sh --- Scripts/Bundle_MacOS.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Scripts/Bundle_MacOS.sh b/Scripts/Bundle_MacOS.sh index b0fb88bec..931d08c70 100644 --- a/Scripts/Bundle_MacOS.sh +++ b/Scripts/Bundle_MacOS.sh @@ -86,8 +86,12 @@ delfiles=( 'libmp3lame.arm64.so' 'libmp3lame.x64.so' 'libmp3lame.x64.dll' 'libmp if [[ "$ARCH" == "arm64" ]] then delfiles+=('libmp3lame.x64.dylib' 'ffmpegaac.x64.dylib') + mv $BUNDLE_MACOS/ffmpegaac.arm64.dylib $BUNDLE_MACOS/ffmpegaac.dylib + mv $BUNDLE_MACOS/libmp3lame.arm64.dylib $BUNDLE_MACOS/libmp3lame.dylib else delfiles+=('libmp3lame.arm64.dylib' 'ffmpegaac.arm64.dylib') + mv $BUNDLE_MACOS/ffmpegaac.x64.dylib $BUNDLE_MACOS/ffmpegaac.dylib + mv $BUNDLE_MACOS/libmp3lame.x64.dylib $BUNDLE_MACOS/libmp3lame.dylib fi @@ -111,4 +115,4 @@ mv $APP_FILE ./bundle/$APP_FILE rm -r $BUNDLE -echo "Done!" \ No newline at end of file +echo "Done!"