Put the comment of FullPath back on it

It stayed above DlssLibraries, which then had two summaries, when that method
went in between.
This commit is contained in:
maj00r
2026-11-03 21:51:58 +01:00
parent d68999dfb7
commit cb092784ae

View File

@@ -267,7 +267,6 @@ public sealed class ExecutableLocator
return extension.Length == 0 || extension is ".exe" or ".x86_64" or ".run" or ".appimage";
}
/// <summary>A path as <see cref="Resolve"/> gives it, which may be relative to the installation.</summary>
/// <summary>Whether the DLSS and frame generation libraries lie next to the simulator: without them it cannot use either.</summary>
public (bool Dlss, bool FrameGeneration) DlssLibraries(string executable)
{
@@ -295,6 +294,7 @@ public sealed class ExecutableLocator
private bool Has(string directory, string pattern) => _files.GetFiles(directory, pattern).Count > 0;
/// <summary>A path as <see cref="Resolve"/> gives it, which may be relative to the installation, made whole.</summary>
public string FullPath(string path) =>
Path.IsPathRooted(path) ? path : Path.Combine(_paths.Root, path);