[docs] app.isDefaultProtocolClient is available on Linux now (#12674)

This commit is contained in:
James Wheare 2018-04-22 16:16:43 +01:00 committed by Samuel Attard
parent 12a57ff1c2
commit bf2b4814e0

View file

@ -604,7 +604,7 @@ This method checks if the current executable as the default handler for a
protocol (aka URI scheme). If so, it will remove the app as the default handler. protocol (aka URI scheme). If so, it will remove the app as the default handler.
### `app.isDefaultProtocolClient(protocol[, path, args])` _macOS_ _Windows_ ### `app.isDefaultProtocolClient(protocol[, path, args])`
* `protocol` String - The name of your protocol, without `://`. * `protocol` String - The name of your protocol, without `://`.
* `path` String (optional) _Windows_ - Defaults to `process.execPath` * `path` String (optional) _Windows_ - Defaults to `process.execPath`