From b87790ff9f7eaa24a710d77ad1023495f5426161 Mon Sep 17 00:00:00 2001 From: Brad Date: Sun, 13 Jul 2025 19:19:10 +0100 Subject: [PATCH] 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 --- plugins/deep-link/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/deep-link/src/lib.rs b/plugins/deep-link/src/lib.rs index d74864db..b5fd963e 100644 --- a/plugins/deep-link/src/lib.rs +++ b/plugins/deep-link/src/lib.rs @@ -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(())