|
@@ -321,7 +321,7 @@ and `will-quit` events will not be emitted.
|
|
|
### `app.relaunch([options])`
|
|
|
|
|
|
* `options` Object (optional)
|
|
|
- * `args` String[] (optional)
|
|
|
+ * `args` String[] - (optional)
|
|
|
* `execPath` String (optional)
|
|
|
|
|
|
Relaunches the app when current instance exits.
|
|
@@ -462,7 +462,7 @@ Clears the recent documents list.
|
|
|
app to handle `electron://` links, call this method with `electron` as the
|
|
|
parameter.
|
|
|
* `path` String (optional) _Windows_ - Defaults to `process.execPath`
|
|
|
-* `args` String[] (optional) _Windows_ - Defaults to an empty array
|
|
|
+* `args` String[] - (optional) _Windows_ - Defaults to an empty array
|
|
|
|
|
|
Returns `Boolean` - Whether the call succeeded.
|
|
|
|
|
@@ -486,7 +486,7 @@ The API uses the Windows Registry and LSSetDefaultHandlerForURLScheme internally
|
|
|
|
|
|
* `protocol` String - The name of your protocol, without `://`.
|
|
|
* `path` String (optional) _Windows_ - Defaults to `process.execPath`
|
|
|
-* `args` String[] (optional) _Windows_ - Defaults to an empty array
|
|
|
+* `args` String[] - (optional) _Windows_ - Defaults to an empty array
|
|
|
|
|
|
Returns `Boolean` - Whether the call succeeded.
|
|
|
|
|
@@ -498,7 +498,7 @@ protocol (aka URI scheme). If so, it will remove the app as the default handler.
|
|
|
|
|
|
* `protocol` String - The name of your protocol, without `://`.
|
|
|
* `path` String (optional) _Windows_ - Defaults to `process.execPath`
|
|
|
-* `args` String[] (optional) _Windows_ - Defaults to an empty array
|
|
|
+* `args` String[] - (optional) _Windows_ - Defaults to an empty array
|
|
|
|
|
|
Returns `Boolean`
|
|
|
|