refactor(deep-link)!: return Error::Execute when an OS command fails to run (#3603)

* refactor(deep-link)!: return Error::Execute when an OS command fails to run

On Linux, `register`, `unregister` and `is_registered` now fail with the
new `Error::Execute(command, io_error)` variant when `xdg-mime` or
`update-desktop-database` cannot be spawned, instead of logging and
returning the raw `Error::Io`. This is the change deferred to v3 in #2970.

* docs(deep-link): unregister does not run OS commands
This commit is contained in:
Lucas Fernandes Nogueira
2026-09-22 06:04:13 -03:00
committed by GitHub
parent c7416a1a2c
commit 120d00558e
3 changed files with 12 additions and 15 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"deep-link": major
---
**Breaking:** On Linux, failing to run `xdg-mime` or `update-desktop-database` in `register` and `is_registered` now returns the new `Error::Execute(command, io_error)` variant instead of logging the failure and returning the raw `Error::Io`.