fix: Improve macOS support

This commit is contained in:
LukeGus
2025-10-19 19:30:54 -05:00
parent c862557f31
commit a35debb81c

View File

@@ -175,11 +175,18 @@ jobs:
# Get signing identity
APP_IDENTITY=$(security find-identity -v -p codesigning $RUNNER_TEMP/app-signing.keychain-db | grep "Apple Distribution" | head -1 | cut -d'"' -f2)
INSTALLER_IDENTITY=$(security find-identity -v -p codesigning $RUNNER_TEMP/app-signing.keychain-db | grep "Mac Installer Distribution" | head -1 | cut -d'"' -f2)
INSTALLER_IDENTITY=$(security find-identity -v -p codesigning $RUNNER_TEMP/app-signing.keychain-db | grep "Installer" | head -1 | cut -d'"' -f2)
echo "Using app identity: $APP_IDENTITY"
echo "Using installer identity: $INSTALLER_IDENTITY"
if [ -z "$INSTALLER_IDENTITY" ]; then
echo "Available identities:"
security find-identity -v -p codesigning $RUNNER_TEMP/app-signing.keychain-db
echo "Error: Could not find installer identity"
exit 1
fi
# Sign helper apps first
codesign --force --sign "$APP_IDENTITY" \
--entitlements "build/entitlements.mas.inherit.plist" \