mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
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:
@@ -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`.
|
||||
Reference in New Issue
Block a user