File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 APP_PATH=$(find dist -name "*.app" -type d | head -1)
4949 if [ -n "$APP_PATH" ]; then
5050 echo "Applying ad hoc signature to: $APP_PATH"
51+ # Sign all frameworks and helpers first
52+ find "$APP_PATH" -name "*.framework" -o -name "*.app" | while read framework; do
53+ echo "Signing: $framework"
54+ codesign --remove-signature "$framework" 2>/dev/null || true
55+ codesign --force --sign - "$framework" || echo "Failed to sign: $framework"
56+ done
57+ # Sign the main app bundle
5158 codesign --remove-signature "$APP_PATH" || true
52- codesign --deep --force --sign - "$APP_PATH"
59+ codesign --force --deep --sign - "$APP_PATH"
5360 echo "Ad hoc signature applied successfully"
61+ # Verify signature
62+ codesign --verify --verbose "$APP_PATH" || echo "Signature verification failed"
5463 else
5564 echo "No .app bundle found in dist directory"
5665 fi
Original file line number Diff line number Diff line change 11{
22 "name" : " diff-viewer" ,
3- "version" : " 0.1.4 " ,
3+ "version" : " 0.1.5 " ,
44 "description" : " A rich Git diff viewer with syntax highlighting" ,
55 "main" : " build/electron/main.js" ,
66 "homepage" : " ./" ,
You can’t perform that action at this time.
0 commit comments