3.1 native lib

This commit is contained in:
HolographicHat
2022-09-27 19:02:13 +08:00
parent 656589bc80
commit 07a08f56d4
6 changed files with 52 additions and 24 deletions

View File

@@ -102,7 +102,8 @@ public static class Utils {
}
}
if (useLocalLib) {
File.Copy(GlobalVars.LibPath, Path.Combine(GlobalVars.AppPath, "YaeLib.dll"));
Console.WriteLine(@"Use local native lib.");
File.Copy(Path.Combine(GlobalVars.AppPath, "YaeAchievementLib.dll"), GlobalVars.LibPath, true);
} else if (info.EnableLibDownload) {
File.WriteAllBytes(GlobalVars.LibPath, GetBucketFileAsByteArray("schicksal/lib.dll"));
}