mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-02 22:06:50 +02:00
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:
1 parent
1b98b85a1f
commit
9db40a6dc4
2 files changed
+6
-1
No files matched your search
@@ -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(
|
||||
[
|
||||
|
||||
Reference in new issue
Block a user