From a8698073ed3d414cd6499e3e57b16f0df7bf7207 Mon Sep 17 00:00:00 2001 From: STAM Date: Wed, 19 May 2021 13:38:05 +0300 Subject: [PATCH] @kasthack fix war links --- bin/dotnet/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dotnet/Program.cs b/bin/dotnet/Program.cs index 77a211c0f..b1b804017 100644 --- a/bin/dotnet/Program.cs +++ b/bin/dotnet/Program.cs @@ -23,7 +23,7 @@ { var jsonData = File.ReadAllText(json.FullName)["downloads(".Length..^1]; var items = JsonSerializer.Deserialize(jsonData, new JsonSerializerOptions { PropertyNameCaseInsensitive = true }); - foreach (var item in items.Where(a=>a.ZipUrl.ToString().EndsWith(archiveType))) + foreach (var item in items.Where(a=>a.ZipUrl.ToString().EndsWith(archiveType) && !a.ZipUrl .ToString().Contains("-war"))) { var majorVersion = item.Version.Split(".").First(); var templatePath = Path.Combine(workdir.FullName, product, "templates", majorVersion);