From 784b615ab52e91fe220e48c1c8fa43009918cbc5 Mon Sep 17 00:00:00 2001 From: Colin Mitchell Date: Thu, 2 Mar 2017 10:17:46 -0500 Subject: [PATCH] Use proper icon when loading for first itme --- app/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/main.js b/app/main.js index 96b16a1e..16d5600f 100644 --- a/app/main.js +++ b/app/main.js @@ -591,7 +591,9 @@ app.on('window-all-closed', function() { // This method will be called when Electron has finished // initialization and is ready to create browser windows. app.once('ready', function() { - appIcon = new Tray(__dirname + '/assets/icon.png'); + var icons = getIcons(); + + appIcon = new Tray(icons.active); appIcon.setToolTip(global.APP_NAME); appIcon.setContextMenu(trayMenu);