26 lines
547 B
C#
26 lines
547 B
C#
namespace Zcbot.WindowsNode;
|
|
|
|
internal enum SoftwarePathKind
|
|
{
|
|
None,
|
|
Executable,
|
|
Directory,
|
|
}
|
|
|
|
internal sealed record SoftwareDefinition(
|
|
string Id,
|
|
string DisplayName,
|
|
string RuntimeId,
|
|
SoftwarePathKind PathKind,
|
|
string? EnvironmentVariable,
|
|
string? RequiredRelativePath,
|
|
string RequirementsRelativePath);
|
|
|
|
internal sealed record SoftwareLocation(
|
|
bool Available,
|
|
string? Path,
|
|
string Source,
|
|
string Detail);
|
|
|
|
internal sealed record RuntimeInstallResult(string RuntimePath, string Detail);
|