remove unnecessary debug and fix locale issues

This commit is contained in:
Jakob 2021-09-06 22:49:56 +02:00
parent e41b348acb
commit 051c4df2b6
4 changed files with 25 additions and 14 deletions

View file

@ -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