Skip to content

Commit

Permalink
Use proper icon when loading for first itme
Browse files Browse the repository at this point in the history
  • Loading branch information
muffinista committed Mar 2, 2017
1 parent d32aaf9 commit 784b615
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 784b615

Please sign in to comment.