Skip to content

Commit 5d1f2f2

Browse files
committed
Enhance CI workflow: add ad-hoc code signing step for macOS applications and update tauri configuration to specify minimum system version and signing identity.
1 parent 759a3ee commit 5d1f2f2

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,16 @@ jobs:
125125
npm run tauri build
126126
echo "✅ Tauri app built successfully for ${{ matrix.platform }}"
127127
128+
- name: 🔏 Sign macOS app (ad-hoc)
129+
if: matrix.platform == 'macos'
130+
run: |
131+
echo "Applying ad-hoc code signature to macOS app..."
132+
find excalidraw-app/src-tauri/target/release/bundle/macos -name "*.app" -type d | while read app; do
133+
echo "Signing: $app"
134+
codesign --force --deep --sign - "$app" 2>/dev/null || true
135+
done
136+
echo "✅ Ad-hoc signing complete"
137+
128138
- name: Upload Linux artifacts
129139
if: matrix.platform == 'linux'
130140
uses: actions/upload-artifact@v4

excalidraw-app/src-tauri/tauri.conf.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
3131
"icons/icon.icns",
3232
"icons/icon.ico"
33-
]
33+
],
34+
"macOS": {
35+
"minimumSystemVersion": "10.13",
36+
"signingIdentity": null
37+
}
3438
}
3539
}

0 commit comments

Comments
 (0)