diff --git a/apps/electron/src/main/services/windows-tray-service.ts b/apps/electron/src/main/services/windows-tray-service.ts index 26c709a39..12681cbf1 100644 --- a/apps/electron/src/main/services/windows-tray-service.ts +++ b/apps/electron/src/main/services/windows-tray-service.ts @@ -53,8 +53,9 @@ export class WindowsTrayService { this.tray.setToolTip(this.options.productName) this.tray.setContextMenu(contextMenu) + // Left click opens the app directly; the context menu stays on right click. this.tray.on('click', () => { - this.tray?.popUpContextMenu() + this.options.openOrFocusMainWindow() }) return true