DanGough / Nevergreen

This module is an alternative to Evergreen, and allows you to find the latest version and download URL for various Windows apps. Evergreen uses API queries to obtain its data whereas this module is more focussed on web scraping. This is more prone to breaking when websites are changed, hence the name.
The Unlicense
72 stars 16 forks source link

Update 8x8 Version to match Winget Version #53

Closed jnichols35 closed 7 months ago

jnichols35 commented 8 months ago

Wanted to update 8x8 to match the version number that winget provides.

Screenshot 2023-10-16 at 1 39 35 PM

Let me know if this makes sense, or if you think there is a better way to do it.

Thanks!

DanGough commented 7 months ago

Hi, thanks for the suggestion - I'll just modify the regex so that it doesn't break if they stop using the dash:

(\d+(?:.\d+)+[.-]\d+)

DanGough commented 7 months ago

Hi - I have instead opted to fix Get-Version so that it replaces dashes with dots before it attempts to match. Now all that's needed in Get-8x8Work.ps1 is:

$Version = $URL | Get-Version -ReplaceWithDot

jnichols35 commented 7 months ago

@DanGough Thanks for taking care of this!