From 6ac94535c02116ec05112c5d21be20049de6dc70 Mon Sep 17 00:00:00 2001 From: Quentin Decaunes Date: Mon, 16 Mar 2020 18:08:47 +0100 Subject: [PATCH] fix: #70 Unable to display tray icon on windows. The icon filename was wrong in 4bbd770f. --- public/electron.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/electron.js b/public/electron.js index 1549693..39793dd 100644 --- a/public/electron.js +++ b/public/electron.js @@ -25,12 +25,12 @@ const createWindow = () => { let appIcon = ""; let trayIcon = ""; if (require("os").platform() === "win32") { - appIcon = __dirname + "/icons/app_icon.ico"; + appIcon = __dirname + "/icons/app.ico"; } else { appIcon = __dirname + "/icons/256x256.png"; } if (require("os").platform() === "win32") { - trayIcon = __dirname + "/icons/tray_icon.ico"; + trayIcon = __dirname + "/icons/tray.ico"; } else { trayIcon = __dirname + "/icons/128x128.png"; }