🐛 Fix: fix tray image after drag

This commit is contained in:
萌萌哒赫萝 2023-04-12 22:33:02 +08:00
parent c4e5b1f2fe
commit 22f8aa84bc

View File

@ -387,7 +387,7 @@ export function createTray () {
})
tray.on('drag-end', () => {
tray!.setImage(`${__static}/menubar.png`)
tray!.setImage(getTrayIcon())
})
// drop-files only be supported in macOS