copy wsl --status output to the MSI log just in case

This commit is contained in:
Difegue 2022-10-13 01:09:47 +02:00
parent 667655a04b
commit 6e66481d86

View File

@ -40,6 +40,8 @@ public partial class WslCheckDialog : WixCLRDialog
var output = wsl.StandardOutput.ReadToEnd();
wsl.WaitForExit(1000);
session.Log("WSL --status output: " + output);
if (!output.ToLower().Contains("version")) {
obj += "wsl.exe --status returned no information. \n(output was: " + output + ")";
}