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
cleanup: build updates
Gabriel Stein4ea67a423299
diff --git a/electron-builder.json b/electron-builder.jsonindex 547a9a9e6..55aa6aba7 100644--- a/electron-builder.json+++ b/electron-builder.json@@ -30,7 +30,12 @@"hardenedRuntime": true,"gatekeeperAssess": false,"entitlements": "build/entitlements.mac.plist",- "entitlementsInherit": "build/entitlements.mac.plist"+ "entitlementsInherit": "build/entitlements.mac.plist",+ "extendInfo": {+ "LSUIElement": false,+ "NSMicrophoneUsageDescription": "OpenWispr needs microphone access for speech-to-text transcription.",+ "NSAccessibilityUsageDescription": "OpenWispr needs accessibility permissions to paste transcribed text into other applications."+ }},"win": {"target": [diff --git a/main.js b/main.jsindex 8cb8221aa..983e95df6 100644--- a/main.js+++ b/main.js@@ -306,19 +306,19 @@ app.whenReady().then(async () => {if (process.env.NODE_ENV === 'development') {// Development mode - load from assets folder- const iconPath = path.join(__dirname, 'assets', 'iconTemplate.png');+ const iconPath = path.join(__dirname, 'assets', '[email protected]');trayIcon = nativeImage.createFromPath(iconPath);} else {// Production mode - try different locations for the iconconst possiblePaths = [// First try extraResources (most likely for packaged app)- path.join(process.resourcesPath, 'assets', 'iconTemplate.png'),+ path.join(process.resourcesPath, 'assets', '[email protected]'),// Then try asar.unpacked- path.join(process.resourcesPath, 'app.asar.unpacked', 'assets', 'iconTemplate.png'),+ path.join(process.resourcesPath, 'app.asar.unpacked', 'assets', '[email protected]'),// Then try within app bundle- path.join(__dirname, 'assets', 'iconTemplate.png'),+ path.join(__dirname, 'assets', '[email protected]'),// Legacy path- path.join(process.resourcesPath, 'app', 'assets', 'iconTemplate.png')+ path.join(process.resourcesPath, 'app', 'assets', '[email protected]')];let iconPath = null;