fix(deep-link): unregister must refresh the database

This commit is contained in:
Lucas Nogueira
2026-09-22 22:03:02 -03:00
parent 710d097b6b
commit 4a94356386
3 changed files with 67 additions and 33 deletions
@@ -0,0 +1,5 @@
---
deep-link: patch
---
Fixed `unregister` on Linux leaving the app as the scheme's handler: it now also removes the scheme from the `MimeType` of the handler's `.desktop` file and refreshes the desktop database, which `xdg-mime` falls back to. It also no longer fails when `mimeapps.list` does not exist.