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

Port of v1 change: https://github.com/tauri-apps/tauri/pull/7956
pull/731/head
Fabian-Lars 2 years ago committed by GitHub
parent 1b98b85a1f
commit 9db40a6dc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,5 @@
---
updater: patch
---
Use escaped installer path to start the nsis updater to prevent crashes if app name contained spaces.

@ -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(
[

Loading…
Cancel
Save