Fix tray icon naming

Change-Id: Iafebe0ebd029b1414a3a435e28b0ce74d70e0a92
This commit is contained in:
Yury Shvedov
2024-02-11 17:48:25 +03:00
parent 237261c386
commit fc008fe50c
+1 -1
View File
@@ -12,7 +12,7 @@ diff --git a/main/lib/createTray.js b/main/lib/createTray.js
+ {label: 'Open Window', click: () => window.show()}, + {label: 'Open Window', click: () => window.show()},
+ {label: 'Quit YandexMusic', click: () => app.quit()} + {label: 'Quit YandexMusic', click: () => app.quit()}
+ ]); + ]);
+ tray.setToolTip('This is my application.'); + tray.setToolTip('Yandex Music');
+ tray.setContextMenu(contextMenu); + tray.setContextMenu(contextMenu);
+ +
+ tray.on('click', () => { + tray.on('click', () => {