Skip to content

Commit 92a7dc1

Browse files
timiclaude
authored andcommitted
fix: sign only main executable, preserve cli-bundle ad-hoc signature
- Use targeted signing instead of --deep to avoid overwriting cli-bundle signature - Sign only the main bundle and executable - Preserve cli-bundle's ad-hoc signature from bundle-runtime.sh Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c263862 commit 92a7dc1

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,14 @@ jobs:
195195
APP_BUNDLE="./alloomi/apps/web/src-tauri/target/release/bundle/macos/Alloomi.app"
196196
echo "Signing app bundle: $APP_BUNDLE"
197197
198-
# Sign the entire app bundle (including cli-bundle) with Developer ID
199-
# Don't move cli-bundle - just sign everything together
200-
codesign --deep --force --sign "$APPLE_SIGNING_IDENTITY" --options runtime --timestamp "$APP_BUNDLE"
198+
# Sign only the main executable and top-level bundle
199+
# Skip cli-bundle to preserve its ad-hoc signature from bundle-runtime.sh
200+
codesign --force --sign "$APPLE_SIGNING_IDENTITY" --options runtime --timestamp "$APP_BUNDLE"
201201
202-
echo "✅ App bundle signed"
202+
# Sign the main MacOS executable specifically
203+
codesign --force --sign "$APPLE_SIGNING_IDENTITY" --options runtime --timestamp "$APP_BUNDLE/Contents/MacOS/alloomi"
204+
205+
echo "✅ App bundle signed (cli-bundle preserved)"
203206
204207
- name: Create DMG
205208
run: |

0 commit comments

Comments
 (0)