Skip to content

Commit 78135ac

Browse files
committed
windows: delete lightning URI hooks on uninstall
On install we register the URIs for bitcoin, lightning, lnurlp and lnurlw in the registry but on uninstall we would only remove bitcoin again.
1 parent a5f1a29 commit 78135ac

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

contrib/build-wine/electrum.nsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ Section "Uninstall"
237237
RMDir "$SMPROGRAMS\${PRODUCT_NAME}"
238238

239239
DeleteRegKey HKCU "Software\Classes\bitcoin"
240+
DeleteRegKey HKCU "Software\Classes\lightning"
241+
DeleteRegKey HKCU "Software\Classes\lnurlp"
242+
DeleteRegKey HKCU "Software\Classes\lnurlw"
240243
DeleteRegKey HKCU "Software\${PRODUCT_NAME}"
241244
DeleteRegKey HKCU "${PRODUCT_UNINST_KEY}"
242245
SectionEnd

0 commit comments

Comments
 (0)