From 7d9bcfa7af14c5ff3514622b3da183a0a3bd2145 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 12 Jun 2025 17:36:16 +0200 Subject: [PATCH] osx/extract_sigs: add more search paths for signed files - pyinstaller 6.0 changed the file layout of macos binaries https://pyinstaller.org/en/stable/CHANGES.html#id81 https://github.com/pyinstaller/pyinstaller/pull/7619 - this adapts the extract_sigs script to the new layout --- contrib/osx/extract_sigs.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/osx/extract_sigs.sh b/contrib/osx/extract_sigs.sh index f3cc2a984..3f4d0d025 100755 --- a/contrib/osx/extract_sigs.sh +++ b/contrib/osx/extract_sigs.sh @@ -27,7 +27,11 @@ BUNDLE_BASENAME=$(basename "$BUNDLE") rm -rf ${TEMPDIR} mkdir -p ${TEMPDIR} -MAYBE_SIGNED_FILES=$(find "$BUNDLE/Contents/MacOS/" -type f) +MAYBE_SIGNED_FILES=$( + find "$BUNDLE/Contents/MacOS/" -type f; + find "$BUNDLE/Contents/Frameworks/" -type f; + find "$BUNDLE/Contents/Resources/" -type f +) echo "${MAYBE_SIGNED_FILES}" | while read i; do # skip files where pagestuff errors; these probably do not need signing: