mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-07 12:26:41 +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:
@@ -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