Return boolean from shell.openItem
This commit is contained in:
parent
72558654ef
commit
55eab8e385
5 changed files with 18 additions and 16 deletions
|
@ -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])`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue