mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Return boolean from shell.openItem
This commit is contained in:
@@ -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])`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user