13
0

macos restore inclusion of media files, but skip codesigning for all MIDI files (there are too many)

This commit is contained in:
Paul Davis 2023-09-21 07:02:38 -06:00
parent ad7bcd2ebe
commit 0d8e783d25

View File

@ -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}" "{}"