Drs: update GetDrsProgramPath

This commit is contained in:
emoose
2025-08-07 03:41:01 +01:00
parent c38992cd7c
commit 985af53a27

View File

@@ -51,6 +51,11 @@ namespace nspector.Common
return fiDbInstaller.DirectoryName;
}
string sys32Path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), @"drivers\NVIDIA Corporation\Drs\dbInstaller.exe");
if (File.Exists(sys32Path))
return sys32Path;
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles),
@"NVIDIA Corporation\Drs");
}