Scripts: Fallback to ad-hoc signing in codesign-mac-app.sh

This commit is contained in:
Jake
2026-01-03 20:46:09 +13:00
committed by Peter Steinberger
parent 55a07a0ef0
commit 8c7b2aa2d3

View File

@@ -57,8 +57,8 @@ select_identity() {
if [ -z "$IDENTITY" ]; then
if ! IDENTITY="$(select_identity)"; then
echo "ERROR: No signing identity found. Set SIGN_IDENTITY to a valid codesigning certificate." >&2
exit 1
echo "WARN: No signing identity found. Falling back to ad-hoc signing (-)." >&2
IDENTITY="-"
fi
fi