Skip to content

Commit

Permalink
adjust search for newer versions of TreeSize Free
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Oct 23, 2023
1 parent cc12d88 commit 2706586
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion updater/software/TreeSizeFree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public override AvailableSoftware searchForNewer()

// HTML text will contain something like "<b>TreeSize Free V4.42</b>"
// or "<b>TreeSize Free v4.63</b>".
var reVersion = new Regex("<b>TreeSize Free [Vv]([0-9]+\\.[0-9]+)</b>");
var reVersion = new Regex("TreeSize Free [Vv]ersion ([0-9]+\\.[0-9]+)</span>");
var matchVersion = reVersion.Match(html);
if (!matchVersion.Success)
return null;
Expand Down

0 comments on commit 2706586

Please sign in to comment.