Merge pull request #99 from minsusun/feature/separate-code-signing-identity

Feature/separate code signing identity
This commit is contained in:
Abdenasser Elidrissi 2024-11-11 12:45:16 +01:00 committed by GitHub
commit d9d4095afa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 6 deletions

View File

@ -51,7 +51,7 @@ jobs:
- name: Build for Intel Mac
run: |
echo "Building for Intel Mac..."
npm run tauri build -- --target x86_64-apple-darwin --bundles dmg
npm run tauri build -- --target x86_64-apple-darwin --bundles dmg --config "{\"bundle\":{\"macOS\":{\"signingIdentity\": \"Developer ID Application: Abdenasser Elidrissi (785JV74B9Y)\"}}}"
# Rename the Intel build and store the filename
cd src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/
for f in *.dmg; do
@ -66,7 +66,7 @@ jobs:
- name: Build for Apple Silicon
run: |
echo "Building for aarch64..."
npm run tauri build -- --target aarch64-apple-darwin --bundles dmg
npm run tauri build -- --target aarch64-apple-darwin --bundles dmg --config "{\"bundle\":{\"macOS\":{\"signingIdentity\": \"Developer ID Application: Abdenasser Elidrissi (785JV74B9Y)\"}}}"
# Rename the Apple Silicon build and store the filename
cd src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/
for f in *.dmg; do

View File

@ -59,9 +59,6 @@ npm run tauri dev
# Build for production
npm run tauri build
# Build for local mac(Bypass code signing)
npm run tauri build -- --bundles app --config "{\"bundle\":{\"macOS\":{\"signingIdentity\":null}}}"
```
### Development Setup

View File

@ -16,7 +16,6 @@
"icons/icon.ico"
],
"macOS": {
"signingIdentity": "Developer ID Application: Abdenasser Elidrissi (785JV74B9Y)",
"hardenedRuntime": true,
"entitlements": null,
"providerShortName": null