Change "vcruntime.dll" to "vcruntime140.dll" per HashLink's makefile.

This commit is contained in:
player-03
2024-02-04 18:00:43 -05:00
committed by GitHub
parent 6fe43ea1e4
commit e72db10900

View File

@@ -44,10 +44,10 @@ class HashlinkHelper
{ {
System.copyFile(msvcrPath, Path.combine(applicationDirectory, "msvcr120.dll")); System.copyFile(msvcrPath, Path.combine(applicationDirectory, "msvcr120.dll"));
} }
var vcruntimePath = Path.combine(hlPath, "vcruntime.dll"); var vcruntimePath = Path.combine(hlPath, "vcruntime140.dll");
if (FileSystem.exists(vcruntimePath)) if (FileSystem.exists(vcruntimePath))
{ {
System.copyFile(vcruntimePath, Path.combine(applicationDirectory, "vcruntime.dll")); System.copyFile(vcruntimePath, Path.combine(applicationDirectory, "vcruntime140.dll"));
} }
} }
else if (platform == MAC || platform == IOS) else if (platform == MAC || platform == IOS)