Skip to content

Commit b8c3c17

Browse files
committed
Fix signing: attempt all files in Contents/MacOS, ignore non-signable
1 parent 041a841 commit b8c3c17

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -393,10 +393,8 @@ jobs:
393393
mkdir -p "${APP_BUNDLE}/Contents/Resources"
394394
cp scripts/macos/UniGetUI.icns "${APP_BUNDLE}/Contents/Resources/"
395395
396-
find "${APP_BUNDLE}/Contents" -type f | while IFS= read -r f; do
397-
if file "$f" | grep -q "Mach-O"; then
398-
codesign --force --sign - "$f"
399-
fi
396+
find "${APP_BUNDLE}/Contents/MacOS" -type f | while IFS= read -r f; do
397+
codesign --force --sign - "$f" 2>/dev/null || true
400398
done
401399
codesign --force --sign - "${APP_BUNDLE}"
402400

0 commit comments

Comments
 (0)