From 0d8e783d253a7fee91e3e8cbd7d8d688d0ce416d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 21 Sep 2023 07:02:38 -0600 Subject: [PATCH] macos restore inclusion of media files, but skip codesigning for all MIDI files (there are too many) --- tools/osx_packaging/osx_build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 185ca4c4de..5aa2b14a2c 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -365,8 +365,8 @@ cp -R $BUILD_ROOT/../share/web_surfaces $WebSurfaces rm $WebSurfaces/wscript # recursively copy clips/media -#cp -R $BUILD_ROOT/../share/media $MediaClips -#rm $MediaClips/wscript +cp -R $BUILD_ROOT/../share/media $MediaClips +rm $MediaClips/wscript # MackieControl data # got to be careful with names here @@ -896,8 +896,8 @@ if test -n "${APPLE_DEVELOPER_ID_FOR_APPLICATION}"; then echo "signing the main app" - # Sign everything from inside level working out. - find ${PRODUCT_PKG_DIR}/${APPROOT}/Resources -type f -print0 | xargs -0 -I {} -P 7 codesign --verbose --timestamp ${HARDENED_OPTIONS} --force --sign "${APPLE_DEVELOPER_ID_FOR_APPLICATION}" "{}" + # Sign everything from inside level working out, but skip MIDI files includes (there are too many to reasonably sign) + find ${PRODUCT_PKG_DIR}/${APPROOT}/Resources -type f -print0 -not -name \*.mid | xargs -0 -I {} -P 7 codesign --verbose --timestamp ${HARDENED_OPTIONS} --force --sign "${APPLE_DEVELOPER_ID_FOR_APPLICATION}" "{}" find ${PRODUCT_PKG_DIR}/${APPROOT}/lib -type f -print0 | xargs -0 -I {} -P 7 codesign --verbose --timestamp ${HARDENED_OPTIONS} --force --sign "${APPLE_DEVELOPER_ID_FOR_APPLICATION}" "{}" find ${PRODUCT_PKG_DIR}/${APPROOT}/MacOS -name "${lower_case_appname}${major_version}-*" -print0 | xargs -0 -I {} -P 7 codesign --verbose --timestamp ${HARDENED_OPTIONS} --force --sign "${APPLE_DEVELOPER_ID_FOR_APPLICATION}" "{}"