Implement 'drop-files' tray event on OS X.

This commit is contained in:
Haojian Wu 2015-07-19 12:12:28 +08:00
parent 2cd6ad1a97
commit d342c9a6df
7 changed files with 49 additions and 4 deletions

View file

@ -95,6 +95,15 @@ closes it.
__Note:__ This is only implemented on Windows.
### Event: 'drop-files'
* `event`
* `files` Array - the file path of dropped files.
Emitted when dragged files are dropped in the tray icon.
__Note:__ This is only implemented on OS X.
### Tray.destroy()
Destroys the tray icon immediately.