diff --git a/.changes/updater-launch-setup.md b/.changes/updater-launch-setup.md new file mode 100644 index 000000000000..09b821be604c --- /dev/null +++ b/.changes/updater-launch-setup.md @@ -0,0 +1,5 @@ +--- +'tauri-bundler': 'patch:bug' +--- + +Fixes an app crash on app updates when the product name contained spaces. \ No newline at end of file diff --git a/.github/workflows/test-core.yml b/.github/workflows/test-core.yml index b4b9c24b14e3..0d9bd59dad3e 100644 --- a/.github/workflows/test-core.yml +++ b/.github/workflows/test-core.yml @@ -85,8 +85,9 @@ jobs: - name: Downgrade crates with MSRV conflict # The --precise flag can only be used once per invocation. run: | + cargo update -p system-deps:6.1.2 --precise 6.1.1 cargo update -p toml:0.7.8 --precise 0.7.3 - cargo update -p toml_edit --precise 0.19.8 + cargo update -p toml_edit:0.19.15 --precise 0.19.8 cargo update -p toml_datetime --precise 0.6.1 cargo update -p serde_spanned --precise 0.6.1 cargo update -p winnow --precise 0.4.1 @@ -107,6 +108,7 @@ jobs: cargo update -p cfg-expr:0.15.5 --precise 0.15.4 cargo update -p memchr --precise 2.6.2 cargo update -p async-executor --precise 1.5.1 + cargo update -p proptest --precise 1.2.0 - name: test run: cargo test --target ${{ matrix.platform.target }} ${{ matrix.features.args }} diff --git a/core/tauri/src/updater/core.rs b/core/tauri/src/updater/core.rs index e487aab37ed8..4d488d3e756f 100644 --- a/core/tauri/src/updater/core.rs +++ b/core/tauri/src/updater/core.rs @@ -749,7 +749,7 @@ fn copy_files_and_run( Command::new(powershell_path) .args(["-NoProfile", "-WindowStyle", "Hidden"]) .args(["Start-Process"]) - .arg(found_path) + .arg(installer_arg) .arg("-ArgumentList") .arg( [