diff --git a/.changes/updater-escaped-path.md b/.changes/updater-escaped-path.md new file mode 100644 index 0000000000..75661ff49d --- /dev/null +++ b/.changes/updater-escaped-path.md @@ -0,0 +1,5 @@ +--- +updater: patch +--- + +Use escaped installer path to start the nsis updater to prevent crashes if app name contained spaces. diff --git a/plugins/updater/src/updater.rs b/plugins/updater/src/updater.rs index 4a6b352ab5..06dc3bfe22 100644 --- a/plugins/updater/src/updater.rs +++ b/plugins/updater/src/updater.rs @@ -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( [