Merge pull request #4211 from ragingwind/dock-seticon

Add app.dock.setIcon to change icon of dock
This commit is contained in:
Cheng Zhao 2016-01-24 22:36:28 +08:00
commit 253a4f226f
5 changed files with 23 additions and 1 deletions

View file

@ -37,7 +37,8 @@ if (process.platform === 'darwin') {
getBadge: bindings.dockGetBadgeText,
hide: bindings.dockHide,
show: bindings.dockShow,
setMenu: bindings.dockSetMenu
setMenu: bindings.dockSetMenu,
setIcon: bindings.dockSetIcon
};
}