return correct result data
This commit is contained in:
parent
b7104168b8
commit
7283d247a0
@ -103,7 +103,14 @@ public static class ProcessHelper
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
proc.Start();
|
proc.Start();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
return ReadProcessResult.FromError(ex.Message);
|
||||||
|
}
|
||||||
|
|
||||||
proc.BeginOutputReadLine();
|
proc.BeginOutputReadLine();
|
||||||
proc.BeginErrorReadLine();
|
proc.BeginErrorReadLine();
|
||||||
|
@ -37,7 +37,7 @@ public class NetCore6PreCheck : PreCheckBase
|
|||||||
|
|
||||||
if (!result.Succeeded)
|
if (!result.Succeeded)
|
||||||
{
|
{
|
||||||
return PreCheckResult.FromError(result.Message);
|
return PreCheckResult.FromError(result.Message + "\n\nYou most likely don't have .net 6 installed", failedButtonText, failedButtonAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
output = result.StdOut.Split("\r\n");
|
output = result.StdOut.Split("\r\n");
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
<PackageIcon>icon.ico</PackageIcon>
|
<PackageIcon>icon.ico</PackageIcon>
|
||||||
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
|
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
|
||||||
<Configurations>Debug;Release;TEST</Configurations>
|
<Configurations>Debug;Release;TEST</Configurations>
|
||||||
<AssemblyVersion>2.26</AssemblyVersion>
|
<AssemblyVersion>2.27</AssemblyVersion>
|
||||||
<FileVersion>2.26</FileVersion>
|
<FileVersion>2.27</FileVersion>
|
||||||
<Company>SPT-AKI</Company>
|
<Company>SPT-AKI</Company>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user