Add API: app.dock.downloadFinished(filePath)

This commit is contained in:
Daniel Pham 2016-05-10 15:02:56 -04:00
parent 4841e37502
commit 6dae07b76f
5 changed files with 18 additions and 0 deletions

View file

@ -566,6 +566,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