Update docs
authorGabriel Handford <gabrielh@gmail.com>
Wed, 2 Nov 2016 23:29:25 +0000 (16:29 -0700)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 17 Nov 2016 01:33:24 +0000 (10:33 +0900)
docs/api/shell.md

index 75eccb5..411ef9c 100644 (file)
@@ -41,10 +41,10 @@ Open the given file in the desktop's default manner.
   * `activate` Boolean - `true` to bring the opened application to the
     foreground. The default is `true`.
 * `callback` Function (optional) - If specified will perform the open asynchronously. _macOS_
-  * `opened` Boolean
+  * `error` Error
 
 Returns `Boolean` - Whether an application was available to open the URL.
-If callback is specified, it will return whether it was able to initiate the open call.
+If callback is specified, always returns true.
 
 Open the given external protocol URL in the desktop's default manner. (For
 example, mailto: URLs in the user's default mail agent).