From 728b2532ea97b827b9d591cd6dc5fabca16d6fb0 Mon Sep 17 00:00:00 2001 From: injurka Date: Mon, 11 Nov 2024 13:11:30 +0400 Subject: [PATCH] fix: the context menu is not displayed on linux --- src/main/services/TrayService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/services/TrayService.ts b/src/main/services/TrayService.ts index 7b10d06541..310c36dab5 100644 --- a/src/main/services/TrayService.ts +++ b/src/main/services/TrayService.ts @@ -50,12 +50,14 @@ export class TrayService { label: trayLocale.show_window, click: () => windowService.showMainWindow() }, + { type: 'separator' }, { label: trayLocale.quit, click: () => this.quit() } ]) + this.tray.setContextMenu(contextMenu) this.tray.setToolTip('Cherry Studio') this.tray.on('right-click', () => {