Uninstall protocol
Hi,
Thanks for the library. I have a question on windows, we uninstall the application that was registering the protocol and we can still see the protocol inside the registry. Have you faced this issue and know how to solve that, any specific configuration?
I am using [email protected] [email protected] [email protected]
Thanks & regards
K
I'm sorry, there was never any 'clean-up' built in. What are the reg keys and I'll look into it. I'm working on a v2 right now, and I'll add in better support for Windows.
Win10 registry search for my dev protocol shows
HKEY_CURRENT_USER\SOFTWARE\Classes\app-dev
(Default) REG_SZ URL:app-dev
HKEY_CLASSES_ROOT\app-dev
(Default) REG_SZ URL:app-dev
According to the electron code I think you only need to adjust the HKCU key
Could you use the Electron app.removeAsDefaultProtocolClient to clean this up?
@devsibwarra or @krysalead - would either of you be interested in creating a powershell script to add and remove the reg keys? I'm in the process of rebuilding the Mac LaunchServices entry, and the help would be appreciated.
@glawson I live on a Mac environment, so I'd definitely be out of my element on Windows. Any reason to not the Electron native handler to cleanup the protocol registrations?
https://github.com/glawson/electron-deeplink#-deprecation-notice-