Merge pull request #5477 from danhp/download-bounce

Add API: app.dock.downloadFinished(filePath)
This commit is contained in:
Cheng Zhao 2016-05-11 09:41:08 +09:00
commit ed70a11ff8
5 changed files with 18 additions and 0 deletions

View file

@ -563,6 +563,12 @@ Returns an ID representing the request.
Cancel the bounce of `id`.
### `app.dock.downloadFinished(filePath)` _OS X_
* `filePath` String
Bounces the Downloads stack if the filePath is inside the Downloads folder.
### `app.dock.setBadge(text)` _OS X_
* `text` String