mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-08-17 03:40:23 +03:00
fix(cli): use UTF-8 encoding for vswhere.exe output (#8865)
This commit is contained in:
parent
46b6598a94
commit
3cee26a58a
6
.changes/cli-windows-build-tools-detect-utf8.md
Normal file
6
.changes/cli-windows-build-tools-detect-utf8.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-cli": patch:bug
|
||||
"@tauri-apps/cli": patch:bug
|
||||
---
|
||||
|
||||
On Windows, fixed `tauri info` fails to detect the build tool when the system language is CJK.
|
@ -43,6 +43,7 @@ fn build_tools_version() -> crate::Result<Vec<String>> {
|
||||
"Microsoft.VisualStudio.Component.Windows10SDK.*",
|
||||
"-format",
|
||||
"json",
|
||||
"-utf8",
|
||||
])
|
||||
.output()?;
|
||||
|
||||
@ -57,6 +58,7 @@ fn build_tools_version() -> crate::Result<Vec<String>> {
|
||||
"Microsoft.VisualStudio.Component.Windows11SDK.*",
|
||||
"-format",
|
||||
"json",
|
||||
"-utf8",
|
||||
])
|
||||
.output()?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user