fix: sign Sparkle framework separately for sandboxed builds

Sign the Sparkle framework before signing the whole app to ensure
proper code signature chain for sandboxed installation.
This commit is contained in:
Micha
2025-12-30 20:17:47 +01:00
parent c6ecbbe511
commit 2dd2c2154f

View File

@@ -159,6 +159,14 @@ if [[ ! -d "$APP_PATH" ]]; then
fi fi
if [[ -n "${CODESIGN_IDENTITY:-}" ]]; then if [[ -n "${CODESIGN_IDENTITY:-}" ]]; then
echo "🔏 Codesigning Sparkle framework..."
codesign \
--force \
--options runtime \
--timestamp \
--sign "$CODESIGN_IDENTITY" \
"$APP_PATH/Contents/Frameworks/Sparkle.framework"
echo "🔏 Codesigning app with identity: $CODESIGN_IDENTITY" echo "🔏 Codesigning app with identity: $CODESIGN_IDENTITY"
codesign \ codesign \
--deep \ --deep \