We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 17332d6 + aa9f407 commit aedafe5Copy full SHA for aedafe5
lib/wslinfo.cpp
@@ -52,6 +52,12 @@ void WSL_DISTRO::write_xml(MIOFILE& f) {
52
v,
53
wsl_version
54
);
55
+ if (boinc_buda_runner_version) {
56
+ f.printf(
57
+ " <distro_version>%d</distro_version>\n",
58
+ boinc_buda_runner_version
59
+ );
60
+ }
61
if (is_default) {
62
f.printf(
63
" <is_default/>\n"
@@ -97,6 +103,7 @@ int WSL_DISTRO::parse(XML_PARSER& xp) {
97
103
return 0;
98
104
}
99
105
if (xp.parse_string("distro_name", distro_name)) continue;
106
+ if (xp.parse_int("distro_version", boinc_buda_runner_version)) continue;
100
107
if (xp.parse_string("os_name", os_name)) continue;
101
108
if (xp.parse_string("os_version", os_version)) continue;
102
109
if (xp.parse_string("libc_version", libc_version)) continue;
0 commit comments