⚡ Add API: RemoveAsDefaultProtocolHandler
This commit is contained in:
parent
d2567b0381
commit
1231360b2f
6 changed files with 70 additions and 1 deletions
|
@ -367,6 +367,16 @@ Please refer to [Apple's documentation][CFBundleURLTypes] for details.
|
|||
|
||||
The API uses the Windows Registry and LSSetDefaultHandlerForURLScheme internally.
|
||||
|
||||
### `app.removeAsDefaultProtocolClient(protocol)` _Windows_
|
||||
|
||||
* `protocol` String - The name of your protocol, without `://`.
|
||||
|
||||
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.
|
||||
|
||||
**Note:** On OS X, removing the app will automatically remove the app as the
|
||||
default protocol handler.
|
||||
|
||||
### `app.setUserTasks(tasks)` _Windows_
|
||||
|
||||
* `tasks` Array - Array of `Task` objects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue