getApplicationInfoForProtocol

Resolve with an object containing the following:

  • icon NativeImage - the display icon of the app handling the protocol.

  • path string - installation path of the app handling the protocol.

  • name string - display name of the app handling the protocol.

This method returns a promise that contains the application name, icon and path of the default handler for the protocol (aka URI scheme) of a URL.