mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 18:50:56 +08:00
fix: the context menu is not displayed on linux
This commit is contained in:
parent
b39d33c6ac
commit
728b2532ea
@ -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', () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user