Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
fix(ci): compile macos-media-remote binary in release and build workflows (#700)
Kyle Denneyd289e0e24676
diff --git a/.github/workflows/build-and-notarize.yml b/.github/workflows/build-and-notarize.ymlindex ef7527e33..93376cc9d 100644--- a/.github/workflows/build-and-notarize.yml+++ b/.github/workflows/build-and-notarize.yml@@ -223,7 +223,16 @@ jobs:uses: actions/cache@v4with:path: resources/bin- key: macos-${{ matrix.arch }}-bin-${{ hashFiles('scripts/download-*.js', 'scripts/build-globe-listener.js', 'resources/macos-globe-listener.swift', 'scripts/build-macos-fast-paste.js', 'resources/macos-fast-paste.swift') }}+ key: macos-${{ matrix.arch }}-bin-${{ hashFiles('scripts/download-*.js', 'scripts/build-globe-listener.js', 'resources/macos-globe-listener.swift', 'scripts/build-macos-fast-paste.js', 'resources/macos-fast-paste.swift', 'scripts/build-media-remote.js', 'resources/macos-media-remote.swift') }}++ - name: Compile macos-globe-listener binary+ run: npm run compile:globe -- --arch ${{ matrix.arch }}++ - name: Compile macos-fast-paste binary+ run: npm run compile:fast-paste -- --arch ${{ matrix.arch }}++ - name: Compile macos-media-remote binary+ run: npm run compile:media-remote -- --arch ${{ matrix.arch }}- name: Download whisper.cpp binariesrun: node scripts/download-whisper-cpp.js --current --platform darwin --arch ${{ matrix.arch }}@@ -301,6 +310,13 @@ jobs:APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}+ - name: Verify packaged macOS native binaries+ run: |+ APP_PATH=$(ls -d dist/mac*/OpenWhispr.app | head -n1)+ for bin in macos-audio-tap macos-globe-listener macos-fast-paste macos-mic-listener macos-text-monitor macos-media-remote; do+ test -x "$APP_PATH/Contents/Resources/bin/$bin" || { echo "Missing in bundle: $bin"; exit 1; }+ done+- name: Upload Artifactsuses: actions/upload-artifact@v4with:diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 71d2f6be8..671f3c4fa 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -208,7 +208,16 @@ jobs:uses: actions/cache@v4with:path: resources/bin- key: macos-${{ matrix.arch }}-bin-${{ hashFiles('scripts/download-*.js', 'scripts/build-globe-listener.js', 'resources/macos-globe-listener.swift', 'scripts/build-macos-fast-paste.js', 'resources/macos-fast-paste.swift') }}+ key: macos-${{ matrix.arch }}-bin-${{ hashFiles('scripts/download-*.js', 'scripts/build-globe-listener.js', 'resources/macos-globe-listener.swift', 'scripts/build-macos-fast-paste.js', 'resources/macos-fast-paste.swift', 'scripts/build-media-remote.js', 'resources/macos-media-remote.swift') }}++ - name: Compile macos-globe-listener binary+ run: npm run compile:globe -- --arch ${{ matrix.arch }}++ - name: Compile macos-fast-paste binary+ run: npm run compile:fast-paste -- --arch ${{ matrix.arch }}++ - name: Compile macos-media-remote binary+ run: npm run compile:media-remote -- --arch ${{ matrix.arch }}- name: Download whisper.cpp binariesrun: node scripts/download-whisper-cpp.js --current --platform darwin --arch ${{ matrix.arch }}@@ -285,6 +294,13 @@ jobs:APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}+ - name: Verify packaged macOS native binaries+ run: |+ APP_PATH=$(ls -d dist/mac*/OpenWhispr.app | head -n1)+ for bin in macos-audio-tap macos-globe-listener macos-fast-paste macos-mic-listener macos-text-monitor macos-media-remote; do+ test -x "$APP_PATH/Contents/Resources/bin/$bin" || { echo "Missing in bundle: $bin"; exit 1; }+ done+- name: Upload arch-specific update metadataenv:GH_TOKEN: ${{ secrets.GH_TOKEN }}