From f03c056e0a034c159ff7d4f0d26e09fc87b958c6 Mon Sep 17 00:00:00 2001 From: Tim Pilius Date: Mon, 15 Aug 2022 13:12:24 -0400 Subject: [PATCH] Updating to v1.4.0 --- BattleNetPrefill/BattleNetPrefill.csproj | 2 +- .../LancachePrefill.Common.csproj | 14 ++++++++++++++ LancachePrefill.Common/UpdateChecker.cs | 2 +- LogFileGenerator/Program.cs | 3 +-- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/BattleNetPrefill/BattleNetPrefill.csproj b/BattleNetPrefill/BattleNetPrefill.csproj index 7ec471b6..6dda1de7 100644 --- a/BattleNetPrefill/BattleNetPrefill.csproj +++ b/BattleNetPrefill/BattleNetPrefill.csproj @@ -9,7 +9,7 @@ BattleNetPrefill.Program BattleNetPrefill BattleNetPrefill - 1.3.0 + 1.4.0 tpill90 diff --git a/LancachePrefill.Common/LancachePrefill.Common.csproj b/LancachePrefill.Common/LancachePrefill.Common.csproj index 4e4dc5fc..a2470667 100644 --- a/LancachePrefill.Common/LancachePrefill.Common.csproj +++ b/LancachePrefill.Common/LancachePrefill.Common.csproj @@ -7,6 +7,20 @@ disable + + DEBUG;TRACE + 2 + portable + + + + True + + AnyCPU + none + false + + diff --git a/LancachePrefill.Common/UpdateChecker.cs b/LancachePrefill.Common/UpdateChecker.cs index 038cccea..164fd571 100644 --- a/LancachePrefill.Common/UpdateChecker.cs +++ b/LancachePrefill.Common/UpdateChecker.cs @@ -16,7 +16,7 @@ public static async Task CheckForUpdatesAsync(Type executingAppType, string repo var fileInfo = new FileInfo(lastUpdateCheckFile); if (fileInfo.Exists && fileInfo.LastWriteTimeUtc.AddDays(3) > DateTime.UtcNow) { - //return; + return; } using var httpClient = new HttpClient(); diff --git a/LogFileGenerator/Program.cs b/LogFileGenerator/Program.cs index 2b583fb0..5668e004 100644 --- a/LogFileGenerator/Program.cs +++ b/LogFileGenerator/Program.cs @@ -3,7 +3,6 @@ using System.Diagnostics; using System.IO; using System.IO.Compression; -using System.Net; using System.Net.Http; using BattleNetPrefill; using BattleNetPrefill.Handlers; @@ -11,7 +10,7 @@ using BattleNetPrefill.Utils.Debug; using BattleNetPrefill.Web; using Spectre.Console; -using static BattleNetPrefill.Utils.SpectreColors; +using static LancachePrefill.Common.SpectreColors; namespace LogFileGenerator {