diff --git a/electron/tray.js b/electron/tray.js index ddab4587..48440ac4 100644 --- a/electron/tray.js +++ b/electron/tray.js @@ -53,7 +53,7 @@ exports.create = win => { } ]); - tray = new Tray('../resources/IconTray.png'); + tray = new Tray(iconPath); tray.setToolTip('Rambox'); tray.setContextMenu(contextMenu); tray.on('click', function() {