1
0

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
This commit is contained in:
ThomasV
2025-06-12 17:36:16 +02:00
committed by SomberNight
parent c0b235a74e
commit 7d9bcfa7af

View File

@@ -27,7 +27,11 @@ BUNDLE_BASENAME=$(basename "$BUNDLE")
rm -rf ${TEMPDIR} rm -rf ${TEMPDIR}
mkdir -p ${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 echo "${MAYBE_SIGNED_FILES}" | while read i; do
# skip files where pagestuff errors; these probably do not need signing: # skip files where pagestuff errors; these probably do not need signing: