[Mac] Add app.dock.getBadge() API.
This commit is contained in:
parent
b1f88d680b
commit
ea1f81aa52
5 changed files with 16 additions and 1 deletions
|
@ -18,6 +18,7 @@ if process.platform is 'darwin'
|
|||
bounce: (type = 'informational') -> bindings.dockBounce type
|
||||
cancelBounce: bindings.dockCancelBounce
|
||||
setBadge: bindings.dockSetBadgeText
|
||||
getBadge: bindings.dockGetBadgeText
|
||||
|
||||
# Only one App object pemitted.
|
||||
module.exports = app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue