On Chinese Windows, `cmd /C ver` emits GBK-encoded output which was decoded as UTF-8 lossy, rendering the localized text as mojibake (e.g. "版本" became "�汾"). The full line also duplicated the "Windows" prefix already provided by os_name(). Parse only the ASCII numeric version token (e.g. 10.0.26200.8655) from the ver output, which is encoding-independent, and drop the localized text entirely. Result: "Windows 10.0.26200.8655". Fixes t8y2/dbx#3056 |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| windows/nsis | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Entitlements.plist | ||
| Info.plist | ||
| build.rs | ||
| tauri.conf.json | ||
| tauri.webview2-offline.conf.json | ||