return correct result data
This commit is contained in:
parent
b7104168b8
commit
7283d247a0
@ -103,7 +103,14 @@ public static class ProcessHelper
|
||||
}
|
||||
};
|
||||
|
||||
proc.Start();
|
||||
try
|
||||
{
|
||||
proc.Start();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return ReadProcessResult.FromError(ex.Message);
|
||||
}
|
||||
|
||||
proc.BeginOutputReadLine();
|
||||
proc.BeginErrorReadLine();
|
||||
|
@ -37,7 +37,7 @@ public class NetCore6PreCheck : PreCheckBase
|
||||
|
||||
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");
|
||||
|
@ -9,8 +9,8 @@
|
||||
<PackageIcon>icon.ico</PackageIcon>
|
||||
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
|
||||
<Configurations>Debug;Release;TEST</Configurations>
|
||||
<AssemblyVersion>2.26</AssemblyVersion>
|
||||
<FileVersion>2.26</FileVersion>
|
||||
<AssemblyVersion>2.27</AssemblyVersion>
|
||||
<FileVersion>2.27</FileVersion>
|
||||
<Company>SPT-AKI</Company>
|
||||
</PropertyGroup>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user