mirror of
https://github.com/Orbmu2k/nvidiaProfileInspector.git
synced 2025-12-23 23:18:07 -05:00
Drs: update GetDrsProgramPath
This commit is contained in:
@@ -51,6 +51,11 @@ namespace nspector.Common
|
|||||||
return fiDbInstaller.DirectoryName;
|
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),
|
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles),
|
||||||
@"NVIDIA Corporation\Drs");
|
@"NVIDIA Corporation\Drs");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user