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: improved cross-platform building support
Gabriel Stein6c7eb6f8fa09
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlnew file mode 100644index 000000000..42ad60837--- /dev/null+++ b/.github/workflows/build.yml@@ -0,0 +1,47 @@+name: Build Cross-Platform++on:+ push:+ branches: [ main, develop ]+ pull_request:+ branches: [ main ]+ workflow_dispatch:++jobs:+ build:+ strategy:+ matrix:+ os: [ubuntu-latest, windows-latest, macos-latest]+ include:+ - os: ubuntu-latest+ build_cmd: npm run build:linux+ - os: windows-latest+ build_cmd: npm run build:win+ - os: macos-latest+ build_cmd: npm run build:mac++ runs-on: ${{ matrix.os }}++ steps:+ - uses: actions/checkout@v4++ - name: Setup Node.js+ uses: actions/setup-node@v4+ with:+ node-version: '20'+ cache: 'npm'++ - name: Install dependencies+ run: npm ci++ - name: Build for ${{ matrix.os }}+ run: ${{ matrix.build_cmd }}+ env:+ CSC_IDENTITY_AUTO_DISCOVERY: false++ - name: Upload artifacts+ uses: actions/upload-artifact@v4+ with:+ name: ${{ matrix.os }}-build+ path: dist/+ retention-days: 7\ No newline at end of filediff --git a/package.json b/package.jsonindex a37205657..81f92d85e 100644--- a/package.json+++ b/package.json@@ -7,7 +7,7 @@"scripts": {"start": "electron .","dev": "concurrently -k -r \"npm:dev:renderer\" \"npm:dev:main\"",- "dev:main": "NODE_ENV=development electron . --dev",+ "dev:main": "cross-env NODE_ENV=development electron . --dev","dev:renderer": "cd src && vite","build": "cd src && vite build && cd .. && electron-builder","postinstall": "electron-builder install-app-deps",@@ -30,11 +30,13 @@"electron","desktop-app"],- "author": "OpenWispr Team",+ "author": {+ "name": "OpenWhispr Team",+ "email": "[email protected]"+ },"license": "MIT","devDependencies": {"@electron/notarize": "^3.0.1",- "@esbuild/darwin-arm64": "^0.25.5","@eslint/js": "^9.25.0","@tailwindcss/vite": "^4.1.10","@types/react": "^19.1.2",@@ -42,6 +44,7 @@"@vitejs/plugin-react": "^4.4.1","autoprefixer": "^10.4.21","concurrently": "^8.2.2",+ "cross-env": "^10.0.0","electron": "^36.5.0","electron-builder": "^24.6.4","eslint": "^9.25.0",