Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: prevent dual taskbar entries on Windows/Linux

Gabriel Stein0cd0aed44a8a
diff --git a/main.js b/main.js
index 37e31fcf0..b03009d00 100644
--- a/main.js
+++ b/main.js
@@ -1,5 +1,10 @@
const { app, globalShortcut, BrowserWindow, dialog } = require("electron");
+// Group all windows under single taskbar entry on Windows
+if (process.platform === "win32") {
+ app.setAppUserModelId("com.herotools.openwispr");
+}
+
const gotSingleInstanceLock = app.requestSingleInstanceLock();
if (!gotSingleInstanceLock) {
diff --git a/src/helpers/windowManager.js b/src/helpers/windowManager.js
index 528a8594c..5431448d5 100644
--- a/src/helpers/windowManager.js
+++ b/src/helpers/windowManager.js
@@ -39,9 +39,8 @@ class WindowManager {
if (process.platform === "darwin") {
this.mainWindow.setSkipTaskbar(false);
- } else if (process.platform === "win32") {
- // Keep in taskbar on Windows for discoverability
- this.mainWindow.setSkipTaskbar(false);
+ } else {
+ this.mainWindow.setSkipTaskbar(true);
}
this.setMainWindowInteractivity(false);