From 27065865d10512fc896296f0f240ea0e5d386ecb Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Mon, 23 Oct 2023 19:15:18 +0200 Subject: [PATCH] adjust search for newer versions of TreeSize Free --- changelog.md | 4 ++++ updater/software/TreeSizeFree.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index e957d3f3..e4037b35 100644 --- a/changelog.md +++ b/changelog.md @@ -6,6 +6,10 @@ improvements may be omitted.)_ ## Next Version +__[changes]__ + +* Adjust search for newer version of TreeSize Free for the modified website. + __[maintenance]__ * NLog library is updated from 5.2.4 to 5.2.5. diff --git a/updater/software/TreeSizeFree.cs b/updater/software/TreeSizeFree.cs index b1907c64..0dee1d31 100644 --- a/updater/software/TreeSizeFree.cs +++ b/updater/software/TreeSizeFree.cs @@ -127,7 +127,7 @@ public override AvailableSoftware searchForNewer() // HTML text will contain something like "TreeSize Free V4.42" // or "TreeSize Free v4.63". - var reVersion = new Regex("TreeSize Free [Vv]([0-9]+\\.[0-9]+)"); + var reVersion = new Regex("TreeSize Free [Vv]ersion ([0-9]+\\.[0-9]+)"); var matchVersion = reVersion.Match(html); if (!matchVersion.Success) return null;