fix: jan app tray blocks app update (#2319)

This commit is contained in:
Louis 2024-03-12 09:21:28 +07:00 committed by GitHub
parent de433bbe6e
commit ad7e483df6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,7 @@ class TrayManager {
{ label: 'Quit', type: 'normal', click: () => app.quit() }, { label: 'Quit', type: 'normal', click: () => app.quit() },
]) ])
tray.setContextMenu(contextMenu) tray.setContextMenu(contextMenu)
this.currentTray = tray
} }
destroyCurrentTray() { destroyCurrentTray() {