fix(updater): Use escaped installer path to start the nsis updater (#727)

Port of v1 change: https://github.com/tauri-apps/tauri/pull/7956
This commit is contained in:
Fabian-Lars
2023-11-15 13:58:57 +01:00
committed by GitHub
parent 1b98b85a1f
commit 9db40a6dc4
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
updater: patch
---
Use escaped installer path to start the nsis updater to prevent crashes if app name contained spaces.
+1 -1
View File
@@ -501,7 +501,7 @@ impl Update {
Command::new(powershell_path)
.args(["-NoProfile", "-WindowStyle", "Hidden"])
.args(["Start-Process"])
.arg(found_path)
.arg(installer_arg)
.arg("-ArgumentList")
.arg(
[