Added quotes for cmd (#1806)

* Added quotes for cmd

* Add change file

---------

Co-authored-by: Tony <legendmastertony@gmail.com>
This commit is contained in:
Austin Bennett
2024-09-18 20:59:54 -05:00
committed by GitHub
parent dd514e7a88
commit 3168e17603
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"deep-link": patch
---
Fix fails to start when having spaces in the main binary path on Windows
+1 -1
View File
@@ -278,7 +278,7 @@ mod imp {
let cmd_reg = CURRENT_USER.create(format!("{key_base}\\shell\\open\\command"))?;
cmd_reg.set_string("", &format!("{} \"%1\"", &exe))?;
cmd_reg.set_string("", &format!("\"{}\" \"%1\"", &exe))?;
Ok(())
}