getApplicationInfoForProtocol
abstract fun getApplicationInfoForProtocol(url: String): ERROR CLASS: Symbol not found for Promise<electron/core/ApplicationInfoForProtocolReturnValue>(source)
Resolve with an object containing the following:
iconNativeImage - the display icon of the app handling the protocol.pathstring - installation path of the app handling the protocol.namestring - 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.