remove unnecessary debug and fix locale issues
This commit is contained in:
parent
e41b348acb
commit
051c4df2b6
4 changed files with 25 additions and 14 deletions
|
@ -295,7 +295,7 @@ namespace EnvyUpdate
|
|||
{
|
||||
GPUName = obj["VideoProcessor"].ToString().ToLower();
|
||||
// Remove any 3GB, 6GB or similar from name. We don't need to know the VRAM to get results.
|
||||
GPUName = Regex.Replace(GPUName, "\\d+GB", "");
|
||||
GPUName = Regex.Replace(GPUName, " \\d+gb", "");
|
||||
GPUName = Regex.Replace(GPUName, "nvidia ", "");
|
||||
}
|
||||
else
|
||||
|
|
Reference in a new issue