From ce986590cfd2dd520e02bf54e0ce8ada8d40ed2e Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Tue, 16 Aug 2016 15:39:36 +1000 Subject: [PATCH] Clarify defaults --- docs/api/app.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/app.md b/docs/api/app.md index 45761c6..ea92274 100644 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -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 -- 2.7.4