Return boolean from shell.openItem

This commit is contained in:
Kevin Sawicki 2016-09-12 14:29:06 -07:00
parent 72558654ef
commit 55eab8e385
5 changed files with 18 additions and 16 deletions

View file

@ -21,13 +21,14 @@ The `shell` module has the following methods:
* `fullPath` String
Show the given file in a file manager. If possible, select the file. Returns
true if the item was successfully shown, false otherwse.
true if the item was successfully shown, false otherwise.
### `shell.openItem(fullPath)`
* `fullPath` String
Open the given file in the desktop's default manner.
Open the given file in the desktop's default manner. Returns true if the item
was successfully opened, false otherwise.
### `shell.openExternal(url[, options])`