Added quotes for cmd (#1806)

* Added quotes for cmd

* Add change file

---------

Co-authored-by: Tony <legendmastertony@gmail.com>
pull/1810/head
Austin Bennett 9 months ago committed by GitHub
parent dd514e7a88
commit 3168e17603
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
"deep-link": patch
---
Fix fails to start when having spaces in the main binary path on Windows

@ -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(())
}

Loading…
Cancel
Save