From 8374e997b82c95516fc0c1f6d665d9fc3b52edf8 Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Thu, 5 Feb 2026 12:30:29 -0300 Subject: [PATCH] fix(deep-link): runtime register on Linux when app path has spaces (#3258) --- .changes/fix-register-deep-link.md | 6 ++++++ plugins/deep-link/src/lib.rs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/fix-register-deep-link.md diff --git a/.changes/fix-register-deep-link.md b/.changes/fix-register-deep-link.md new file mode 100644 index 000000000..6245a4687 --- /dev/null +++ b/.changes/fix-register-deep-link.md @@ -0,0 +1,6 @@ +--- +"deep-link": patch +"deep-link-js": patch +--- + +Fix runtime deep link registration failing on Linux when the app path has spaces. diff --git a/plugins/deep-link/src/lib.rs b/plugins/deep-link/src/lib.rs index 00757bf2a..55476bd78 100644 --- a/plugins/deep-link/src/lib.rs +++ b/plugins/deep-link/src/lib.rs @@ -293,7 +293,7 @@ mod imp { .unwrap_or_else(|| bin.into_os_string()) .to_string_lossy() .to_string(); - let qualified_exec = format!("{} %u", exec); + let qualified_exec = format!("\"{}\" %u", exec); let target = self.app.path().data_dir()?.join("applications");