From 0e8eff7e428aa82e091faf403c6e3e34281f3bd1 Mon Sep 17 00:00:00 2001 From: gelaechter <30231932+gelaechter@users.noreply.github.com> Date: Mon, 20 Dec 2021 23:53:49 +0100 Subject: [PATCH] change tray to use png icon on linux devices --- src/main.dev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.dev.js b/src/main.dev.js index 7e95d43..5eed74d 100644 --- a/src/main.dev.js +++ b/src/main.dev.js @@ -508,7 +508,7 @@ const createTray = () => { return; } - tray = new Tray(getAssetPath('icon.ico')); + tray = isLinux ? new Tray(getAssetPath('icon.png')) : new Tray(getAssetPath('icon.ico')); const contextMenu = Menu.buildFromTemplate([ { label: 'Open main window',