fix: the context menu is not displayed on linux
This commit is contained in:
parent
0573b274ed
commit
b77f845cb0
@ -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…
x
Reference in New Issue
Block a user