| File was renamed from VoiceSnapGo/scripts/build-release-macos.sh |
| | |
| | | #!/usr/bin/env bash |
| | | # |
| | | # build-release-macos.sh — Build a signed & notarized macOS DMG for VoiceSnap |
| | | # build-release-macos.sh — Build a signed & notarized macOS DMG for PrivateVoice Input |
| | | # |
| | | # Prerequisites (one-time): |
| | | # 1. Install Developer ID certificate in Keychain |
| | | # 2. Store notarization credentials: |
| | | # xcrun notarytool store-credentials "voicesnap" \ |
| | | # xcrun notarytool store-credentials "privatevoice" \ |
| | | # --apple-id "your@apple.id" --team-id "3HY4G7M2AL" \ |
| | | # --password "app-specific-password" |
| | | # |
| | |
| | | |
| | | # ── Configuration ───────────────────────────────────────────────────────────── |
| | | IDENTITY="Developer ID Application: Ningbo Zhuozhi Innovation Network Technology Co., Ltd. (3HY4G7M2AL)" |
| | | KEYCHAIN_PROFILE="voicesnap" |
| | | KEYCHAIN_PROFILE="privatevoice" |
| | | |
| | | APP_NAME="VoiceSnap" |
| | | BUNDLE_ID="com.voicesnap.app" |
| | | APP_NAME="PrivateVoice Input" |
| | | BUNDLE_ID="com.privatevoice.input" |
| | | |
| | | SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" |
| | | PROJECT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" |