fix(deep-link): handler not set as default on linux

`xdg-mime default` needs to be given the full mimetype, not just the protocol on its own
pull/2844/head
Brad 4 days ago
parent 6210cd31df
commit b87790ff9f
No known key found for this signature in database
GPG Key ID: A2DE32BF0B799596

@ -333,7 +333,7 @@ mod imp {
.status()?;
Command::new("xdg-mime")
.args(["default", &file_name, _protocol.as_ref()])
.args(["default", &file_name, mime_type.as_str()])
.status()?;
Ok(())

Loading…
Cancel
Save