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: make sure dictation panel shows across windows
Gabriel Steine656aba5608c
diff --git a/CLAUDE.md b/CLAUDE.mdindex 5c22e501b..705d50989 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -211,9 +211,10 @@ Enable with `--debug` flag or `OPENWISPR_DEBUG=true`:- Use AppleScript fallback on macOS4. **Build Issues**:- - Use `npm run pack` for unsigned builds+ - Use `npm run pack` for unsigned builds (CSC_IDENTITY_AUTO_DISCOVERY=false)- Signing requires Apple Developer account- ASAR unpacking needed for FFmpeg/Python bridge+ - afterSign.js automatically skips signing when CSC_IDENTITY_AUTO_DISCOVERY=false### Platform-Specific Notesdiff --git a/README.md b/README.mdindex 764cd294f..d8310dc06 100644--- a/README.md+++ b/README.md@@ -204,9 +204,12 @@ open-wispr/- `npm run start` - Start production build- `npm run setup` - First-time setup (creates .env file)- `npm run build:renderer` - Build the React app only-- `npm run build` - Full build with electron-builder-- `npm run pack` - Build without packaging (for testing)-- `npm run dist` - Build and package for current platform+- `npm run build` - Full build with signing (requires certificates)+- `npm run build:mac` - macOS build with signing+- `npm run build:win` - Windows build with signing+- `npm run build:linux` - Linux build+- `npm run pack` - Build without signing (for personal use)+- `npm run dist` - Build and package with signing- `npm run lint` - Run ESLint- `npm run preview` - Preview production builddiff --git a/electron-builder.json b/electron-builder.jsonindex 5d65efa9d..12a009b93 100644--- a/electron-builder.json+++ b/electron-builder.json@@ -41,7 +41,7 @@"entitlementsInherit": "build/entitlements.mac.plist","identity": "HeroTools Inc. (9R85XFMH59)","extendInfo": {- "LSUIElement": false,+ "LSUIElement": true,"NSMicrophoneUsageDescription": "OpenWispr needs microphone access for speech-to-text transcription.","NSAccessibilityUsageDescription": "OpenWispr needs accessibility permissions to paste transcribed text into other applications."}diff --git a/scripts/afterSign.js b/scripts/afterSign.jsindex 5ab40acd0..53878b99d 100644--- a/scripts/afterSign.js+++ b/scripts/afterSign.js@@ -12,6 +12,12 @@ exports.default = async function(context) {return;}+ // Skip signing if CSC_IDENTITY_AUTO_DISCOVERY is false (pack builds)+ if (process.env.CSC_IDENTITY_AUTO_DISCOVERY === 'false') {+ console.log('Skipping signing for pack build');+ return;+ }+const appName = context.packager.appInfo.productFilename;const appPath = path.join(appOutDir, `${appName}.app`);const entitlementsPath = path.join(__dirname, '..', 'build', 'entitlements.mac.plist');diff --git a/src/helpers/windowConfig.js b/src/helpers/windowConfig.jsindex b5cdb6d83..432b97477 100644--- a/src/helpers/windowConfig.js+++ b/src/helpers/windowConfig.js@@ -4,6 +4,7 @@ const path = require("path");const MAIN_WINDOW_CONFIG = {width: 100,height: 100,+ type: 'panel',webPreferences: {preload: path.join(__dirname, "..", "..", "preload.js"),nodeIntegration: false,@@ -18,6 +19,8 @@ const MAIN_WINDOW_CONFIG = {show: true,skipTaskbar: false,focusable: true,+ visibleOnAllWorkspaces: true,+ hiddenInMissionControl: false,};// Control panel window configuration@@ -68,10 +71,13 @@ class WindowPositionUtil {}static setupAlwaysOnTop(window) {- window.setAlwaysOnTop(true, "screen-saver");- window.setVisibleOnAllWorkspaces(true, {- visibleOnFullScreen: true,- });+ if (process.platform === 'darwin') {+ window.setAlwaysOnTop(true, "screen-saver", 1);+ window.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true });+ window.setFullScreenable(false);+ } else {+ window.setAlwaysOnTop(true);+ }}}diff --git a/src/helpers/windowManager.js b/src/helpers/windowManager.jsindex 9f63069e0..602a7a0e7 100644--- a/src/helpers/windowManager.js+++ b/src/helpers/windowManager.js@@ -30,6 +30,7 @@ class WindowManager {...position,});+console.log("📱 Loading main window content...");await this.loadMainWindow();console.log("⌨️ Setting up shortcuts...");@@ -42,7 +43,7 @@ class WindowManager {this.mainWindow.webContents.on("did-fail-load",- async (event, errorCode, errorDescription, validatedURL) => {+ async (_event, errorCode, errorDescription, validatedURL) => {console.error("Failed to load main window:",errorCode,