0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-24 14:34:39 +03:00

Fix tray icon naming

Change-Id: Iafebe0ebd029b1414a3a435e28b0ce74d70e0a92
This commit is contained in:
Yury Shvedov 2024-02-11 15:10:54 +03:00
parent 237261c386
commit fc008fe50c

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', () => {