Skip to content

Commit

Permalink
Update Bundle_MacOS.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Mbucari authored Oct 25, 2024
1 parent 4521c5d commit 0a749d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Scripts/Bundle_MacOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -111,4 +115,4 @@ mv $APP_FILE ./bundle/$APP_FILE

rm -r $BUNDLE

echo "Done!"
echo "Done!"

0 comments on commit 0a749d2

Please sign in to comment.