mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
according to https://github.com/electron/electron/pull/10670, update app.md
This commit is contained in:
@@ -543,7 +543,7 @@ bar, and on macOS you can visit it from dock menu.
|
||||
|
||||
Clears the recent documents list.
|
||||
|
||||
### `app.setAsDefaultProtocolClient(protocol[, path, args])` _macOS_ _Windows_
|
||||
### `app.setAsDefaultProtocolClient(protocol[, path, args])`
|
||||
|
||||
* `protocol` String - The name of your protocol, without `://`. If you want your
|
||||
app to handle `electron://` links, call this method with `electron` as the
|
||||
|
||||
Reference in New Issue
Block a user