Skip to content

Commit cdd5516

Browse files
authored
fix(bundler): Use escaped installer path when starting the updater setup, fixes #7931 (#7956)
* fix(bundler): Use escaped installer path when starting the updater setup, fixes #7931 * fun ci stuff * who needs lockfiles anyway * stahp * please let it be the last one. i want to leave
1 parent 19249d7 commit cdd5516

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.changes/updater-launch-setup.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'tauri-bundler': 'patch:bug'
3+
---
4+
5+
Fixes an app crash on app updates when the product name contained spaces.

.github/workflows/test-core.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ jobs:
8585
- name: Downgrade crates with MSRV conflict
8686
# The --precise flag can only be used once per invocation.
8787
run: |
88+
cargo update -p system-deps:6.1.2 --precise 6.1.1
8889
cargo update -p toml:0.7.8 --precise 0.7.3
89-
cargo update -p toml_edit --precise 0.19.8
90+
cargo update -p toml_edit:0.19.15 --precise 0.19.8
9091
cargo update -p toml_datetime --precise 0.6.1
9192
cargo update -p serde_spanned --precise 0.6.1
9293
cargo update -p winnow --precise 0.4.1
@@ -107,6 +108,7 @@ jobs:
107108
cargo update -p cfg-expr:0.15.5 --precise 0.15.4
108109
cargo update -p memchr --precise 2.6.2
109110
cargo update -p async-executor --precise 1.5.1
111+
cargo update -p proptest --precise 1.2.0
110112
111113
- name: test
112114
run: cargo test --target ${{ matrix.platform.target }} ${{ matrix.features.args }}

core/tauri/src/updater/core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ fn copy_files_and_run<R: Read + Seek>(
749749
Command::new(powershell_path)
750750
.args(["-NoProfile", "-WindowStyle", "Hidden"])
751751
.args(["Start-Process"])
752-
.arg(found_path)
752+
.arg(installer_arg)
753753
.arg("-ArgumentList")
754754
.arg(
755755
[

0 commit comments

Comments
 (0)