Update tray tooltip based on document.title
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
8927afca03
commit
6aae97b812
|
@ -66,4 +66,8 @@ exports.create = function (win, config) {
|
|||
trayIcon.setImage(img);
|
||||
} catch (e) {console.error(e);}
|
||||
});
|
||||
|
||||
win.webContents.on('page-title-updated', function(ev, title) {
|
||||
trayIcon.setToolTip(title);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue