Skip to content

Send files directly between devices over the internet - no cloud storage, no size limits.

enable notarization in CI macos

Denis Lupookov0cdba885162f
diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml
index 43b9b7c..1f04fa2 100644
--- a/.github/workflows/release-desktop.yml
+++ b/.github/workflows/release-desktop.yml
@@ -54,17 +54,28 @@ jobs:
echo "CSC_KEYCHAIN=$KEYCHAIN_PATH" >> "$GITHUB_ENV"
+ - name: Write Apple API key
+ env:
+ APPLE_API_KEY_BASE64: ${{ secrets.APPLE_API_KEY_BASE64 }}
+ run: |
+ API_KEY_PATH="$RUNNER_TEMP/AuthKey_7NJMT6PXL6.p8"
+ echo -n "$APPLE_API_KEY_BASE64" | base64 --decode -o "$API_KEY_PATH"
+ echo "APPLE_API_KEY=$API_KEY_PATH" >> "$GITHUB_ENV"
+ echo "APPLE_API_KEY_PATH=$API_KEY_PATH" >> "$GITHUB_ENV"
+
- name: Make macOS (arm64)
run: npm run dist:mac:arm64 -w apps/desktop
env:
CSC_NAME: "Devaprime LLC"
- SKIP_NOTARIZE: "true"
+ APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
+ APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
- name: Make macOS (x64)
run: npm run dist:mac:x64 -w apps/desktop
env:
CSC_NAME: "Devaprime LLC"
- SKIP_NOTARIZE: "true"
+ APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
+ APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
- name: Upload macOS artifacts
uses: actions/upload-artifact@v4
diff --git a/README.md b/README.md
index d112c61..62363ad 100644
--- a/README.md
+++ b/README.md
@@ -66,7 +66,6 @@ Get the latest release from [altersend.com/download](https://altersend.com/downl
| **Android** | [Google Play](https://play.google.com/store/apps/details?id=com.altersend.mobile) · [APK](https://github.com/denislupookov/altersend/releases/latest) |
| **iOS** | [App Store](https://apps.apple.com/us/app/altersend-file-transfer/id6772496271) |
-> **macOS `.dmg`** — signed with our Developer ID but not yet notarized by Apple, so macOS will show "AlterSend cannot be opened because the developer cannot be verified" on first launch. **Right-click the app → Open → Open** to bypass Gatekeeper (one time only). Notarization is in progress.
> **Windows `.exe`** — not yet signed, so Windows will show "Windows protected your PC" on first run. Click **More info → Run anyway** to install. The Microsoft Store version is signed and avoids this warning.