ElectronApp.getApplicationInfoForProtocol method
ElectronApp › getApplicationInfoForProtocol
Unofficial
Returns the application name, icon and path of the default handler for the protocol of a URL. macOS and Windows only.Signature:
getApplicationInfoForProtocol(url: string): Promise<ElectronApplicationInfoForProtocolReturnValue>Parameters:
| Parameter | Type | Description |
|---|---|---|
| url | string | The URL whose protocol handler to look up. |
Returns: Promise<ElectronApplicationInfoForProtocolReturnValue> — A promise resolved with the handler information.