Update Utils.cs

This commit is contained in:
残梦
2024-06-23 23:16:13 +08:00
committed by GitHub
parent f737122247
commit c82a10353f

View File

@@ -293,7 +293,7 @@ public static class Utils {
}
})
.Select(item => item?.GetValue("DisplayName") as string ?? string.Empty)
.Any(name => name.Contains("Microsoft Visual C++ 2022 X64 "));
.Any(name => name.Contains("Microsoft Visual C++ 2022 X64 ") || name.Contains("Microsoft Visual C++ 2015-2022 Redistributable (x64)"));
if (!installed) {
Console.WriteLine(App.VcRuntimeDownload);
var pkgPath = Path.Combine(GlobalVars.DataPath, "vc_redist.x64.exe");