Clarify defaults
authorSamuel Attard <samuel.r.attard@gmail.com>
Tue, 16 Aug 2016 05:39:36 +0000 (15:39 +1000)
committerSamuel Attard <samuel.r.attard@gmail.com>
Tue, 16 Aug 2016 05:39:36 +0000 (15:39 +1000)
docs/api/app.md

index 45761c6..ea92274 100644 (file)
@@ -453,8 +453,8 @@ Clears the recent documents list.
 * `protocol` String - The name of your protocol, without `://`. If you want your
   app to handle `electron://` links, call this method with `electron` as the
   parameter.
-* `path` String (optional) _Windows_
-* `args` Array (options) _Windows_
+* `path` String (optional) _Windows_ - Defaults to `process.execPath`
+* `args` Array (options) _Windows_ - Defaults to an empty array
 
 This method sets the current executable as the default handler for a protocol
 (aka URI scheme). It allows you to integrate your app deeper into the operating