ElectronApp.getApplicationNameForProtocol method
ElectronApp › getApplicationNameForProtocol
Unofficial
Returns the application name of the default handler for the protocol of a URL.Signature:
getApplicationNameForProtocol(url: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| url | string | The URL whose protocol handler to look up. |
Returns: string — The handler application name, or an empty string if there is no handler.