Skip to content

Commit 8374e99

Browse files
authored
fix(deep-link): runtime register on Linux when app path has spaces (#3258)
1 parent 35aa52f commit 8374e99

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.changes/fix-register-deep-link.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"deep-link": patch
3+
"deep-link-js": patch
4+
---
5+
6+
Fix runtime deep link registration failing on Linux when the app path has spaces.

plugins/deep-link/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ mod imp {
293293
.unwrap_or_else(|| bin.into_os_string())
294294
.to_string_lossy()
295295
.to_string();
296-
let qualified_exec = format!("{} %u", exec);
296+
let qualified_exec = format!("\"{}\" %u", exec);
297297

298298
let target = self.app.path().data_dir()?.join("applications");
299299

0 commit comments

Comments
 (0)