Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ jobs:
sed "s/@VERSION@/${version}/g" .github/macos/Info.plist > "$app/Contents/Info.plist"
# Fail loudly if the executable name ever drifts from CFBundleExecutable.
test -x "$app/Contents/MacOS/EftViewer.Desktop"
# Ad-hoc sign the whole bundle. Without a signature, Apple Silicon
# Gatekeeper treats a quarantined download as "damaged" and blocks
# even the right-click -> Open escape hatch. An ad-hoc signature
# downgrades that to the standard "unidentified developer" prompt,
# which users can clear with right-click -> Open. (Full notarization
# — the only way to remove the prompt entirely — is tracked separately.)
codesign --force --deep --sign - "$app"
codesign --verify --strict --verbose=2 "$app"
# ditto preserves bundle structure/symlinks/resource forks; plain zip can mangle .app bundles.
ditto -c -k --sequesterRsrc --keepParent "$app" "$archive"
else
Expand Down
Loading