From 9462d63b4218bf9c96e01b1659b8b062e48e5041 Mon Sep 17 00:00:00 2001 From: graphemecluster Date: Wed, 18 Dec 2024 02:46:55 +0800 Subject: [PATCH] Fix Squirrel notarization by signing also the binaries inside --- .ci/package-mac.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci/package-mac.sh b/.ci/package-mac.sh index 8edffe2..6dc95c4 100644 --- a/.ci/package-mac.sh +++ b/.ci/package-mac.sh @@ -30,6 +30,9 @@ rm SharedSupport/*.* cp -rf "$SCHEMA_DIR/"* SharedSupport popd +# Resign the binaries inside the application +codesign --sign "Developer ID Application: $APPLE_DEVELOPER_NAME ($APPLE_DEVELOPER_TEAM_ID)" --timestamp --deep --force --options runtime --preserve-metadata=identifier,entitlements Squirrel.app/Contents/MacOS/* + # Resign the application codesign --sign "Developer ID Application: $APPLE_DEVELOPER_NAME ($APPLE_DEVELOPER_TEAM_ID)" --timestamp --deep --force --options runtime --preserve-metadata=identifier,entitlements Squirrel.app