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: fixed globe hotkey not working
Gabriel Stein1ae6e5e82a5d
diff --git a/main.js b/main.jsindex 8f0f1763c..a5e0248ae 100644--- a/main.js+++ b/main.js@@ -137,6 +137,7 @@ trayManager.setWindowManager(windowManager);windowManager.mainWindow &&!windowManager.mainWindow.isDestroyed()) {+ windowManager.showDictationPanel();windowManager.mainWindow.webContents.send("toggle-dictation");}}diff --git a/src/helpers/globeKeyManager.js b/src/helpers/globeKeyManager.jsindex 66dda7a16..97467a6f4 100644--- a/src/helpers/globeKeyManager.js+++ b/src/helpers/globeKeyManager.js@@ -43,6 +43,12 @@ class GlobeKeyManager extends EventEmitter {console.error("GlobeKeyManager error:", data.trim());});+ this.process.on("error", (error) => {+ console.error("GlobeKeyManager failed to start:", error);+ this.process = null;+ this.emit("error", error);+ });+this.process.on("exit", (code, signal) => {this.process = null;if (code !== 0) {diff --git a/src/helpers/tray.js b/src/helpers/tray.jsindex 5145a0294..da0add72a 100644--- a/src/helpers/tray.js+++ b/src/helpers/tray.js@@ -152,7 +152,7 @@ class TrayManager {if (this.windowManager.isDictationPanelVisible()) {this.windowManager.hideDictationPanel();} else {- this.windowManager.showDictationPanel();+ this.windowManager.showDictationPanel({ focus: true });}this.updateTrayMenu();},diff --git a/src/helpers/windowManager.js b/src/helpers/windowManager.jsindex e89cc9db5..c02b878e6 100644--- a/src/helpers/windowManager.js+++ b/src/helpers/windowManager.js@@ -187,7 +187,8 @@ class WindowManager {this.controlPanelWindow.loadURL(appUrl);}- showDictationPanel() {+ showDictationPanel(options = {}) {+ const { focus = false } = options;if (this.mainWindow && !this.mainWindow.isDestroyed()) {if (!this.mainWindow.isVisible()) {if (typeof this.mainWindow.showInactive === "function") {@@ -196,7 +197,9 @@ class WindowManager {this.mainWindow.show();}}- this.mainWindow.focus();+ if (focus) {+ this.mainWindow.focus();+ }}}