From b04fe089071399eea53efcb4beedd7dae1f278e2 Mon Sep 17 00:00:00 2001 From: Yuri Ratkevich <60060712+litolax@users.noreply.github.com> Date: Wed, 12 Apr 2023 17:47:19 +0300 Subject: [PATCH] Update libnode from 102 to 108 --- altVPackage/Program.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/altVPackage/Program.cs b/altVPackage/Program.cs index ad55762..af2c2c5 100644 --- a/altVPackage/Program.cs +++ b/altVPackage/Program.cs @@ -225,16 +225,16 @@ await DownloadFile( $"{(config.Windows ? "js-module.dll" : "libjs-module.so")} is up to date and skipped"); if (await CalculateHash( - $"{config.OutputPath}/{(config.Windows ? "modules/js-module/libnode.dll" : "modules/js-module/libnode.so.102")}") != + $"{config.OutputPath}/{(config.Windows ? "modules/js-module/libnode.dll" : "modules/js-module/libnode.so.108")}") != await GetUpdatedHash( $"https://{CDN_URL}/js-module/{config.Branch}/{system}/update.json", - $"{(config.Windows ? "modules/js-module/libnode.dll" : "modules/js-module/libnode.so.102")}")) + $"{(config.Windows ? "modules/js-module/libnode.dll" : "modules/js-module/libnode.so.108")}")) { await DownloadFile( - $"https://{CDN_URL}/js-module/{config.Branch}/{system}/modules/js-module/{(config.Windows ? "libnode.dll" : "libnode.so.102")}", - $"{config.OutputPath}/modules/js-module/{(config.Windows ? "libnode.dll" : "libnode.so.102")}"); + $"https://{CDN_URL}/js-module/{config.Branch}/{system}/modules/js-module/{(config.Windows ? "libnode.dll" : "libnode.so.108")}", + $"{config.OutputPath}/modules/js-module/{(config.Windows ? "libnode.dll" : "libnode.so.108")}"); } - else Console.WriteLine($"{(config.Windows ? "libnode.dll" : "libnode.so.102")} is up to date and skipped"); + else Console.WriteLine($"{(config.Windows ? "libnode.dll" : "libnode.so.108")} is up to date and skipped"); Console.WriteLine(); Console.WriteLine("Finish js download\n"); @@ -287,4 +287,4 @@ public static async Task CalculateHash(string filePath) } } } -} \ No newline at end of file +}