From a35debb81c4666f73b530db57b06ec83df54b151 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Sun, 19 Oct 2025 19:30:54 -0500 Subject: [PATCH] fix: Improve macOS support --- .github/workflows/electron-build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/electron-build.yml b/.github/workflows/electron-build.yml index c6bad6ad..804f1cc8 100644 --- a/.github/workflows/electron-build.yml +++ b/.github/workflows/electron-build.yml @@ -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" \