0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-23 22:22:59 +03:00

Tray icon path fix

This commit is contained in:
Andrey Onishchenko 2024-07-04 17:28:51 +03:00
parent f9b9ca59bd
commit 3d7cd18d57

View File

@ -6,7 +6,7 @@ diff --git a/main/lib/createTray.js b/main/lib/createTray.js
+const path = require('path');
+
+function createTray(window) {
+ const iconPath = path.join(__dirname, '../../build/next-desktop/favicon.png');
+ const iconPath = path.join(__dirname, '../../app/favicon.png');
+ const tray = new Tray(iconPath);
+ const contextMenu = Menu.buildFromTemplate([
+ {label: 'Открыть', click: () => window.show()},