async fn query_winget_version(winget_id: &str) -> Option<String>Expand description
Parses winget show --id <id> -e’s Version: line. Best-effort: any
failure (winget missing/erroring, unexpected output format) returns
None and the frontend falls back to unversioned copy — never a
guess. Deliberately a separate call from the actual install, not a
flag on it: show never mutates anything, so it’s safe to run purely
for display even before the user has consented to installing.