From 3d7cd18d57a46bceeda437d0bbbb7eacbb1253fd Mon Sep 17 00:00:00 2001 From: Andrey Onishchenko Date: Thu, 4 Jul 2024 17:28:51 +0300 Subject: [PATCH] Tray icon path fix --- patches/0003-Create-app-tray-icon.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/0003-Create-app-tray-icon.patch b/patches/0003-Create-app-tray-icon.patch index 57db2b0..4cf3adb 100644 --- a/patches/0003-Create-app-tray-icon.patch +++ b/patches/0003-Create-app-tray-icon.patch @@ -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()},