Skip to content

ElectronProtocol.unregisterProtocol method

ElectronProtocol › unregisterProtocol

Unofficial

Unregisters the custom protocol of scheme.

Signature:

unregisterProtocol(scheme: string): boolean

Parameters:

ParameterTypeDescription
schemestringThe scheme to unregister.

Returns: booleanWhether the protocol was successfully unregistered.