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
71 stars 16 forks source link

[BUG] LibreOffice #56

Closed j81blog closed 4 months ago

j81blog commented 4 months ago

While running the latest version (2311.2) and get details for LibreOffice

Get-NevergreenApp -Name LibreOffice

I recieve an error:

WARNING: No version found within <!DOCTYPE html>

... HTML Source ...

C:\Program Files\WindowsPowerShell\Modules\nevergreen\2311.2\Apps\Get-LibreOffice.ps1 : Get-LibreOffice.ps1: Cannot
validate argument on parameter 'Version'. The argument is null or empty. Provide an argument that is not null or
empty, and then try the command again.
At C:\Program Files\WindowsPowerShell\Modules\nevergreen\2311.2\Public\Get-NevergreenApp.ps1:61 char:31
+                     $Output = &$Script
+                               ~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-LibreOffice.ps1

C:\Program Files\WindowsPowerShell\Modules\nevergreen\2311.2\Apps\Get-LibreOffice.ps1 : Get-LibreOffice.ps1: Cannot
validate argument on parameter 'Version'. The argument is null or empty. Provide an argument that is not null or
empty, and then try the command again.
At C:\Program Files\WindowsPowerShell\Modules\nevergreen\2311.2\Public\Get-NevergreenApp.ps1:61 char:31
+                     $Output = &$Script
+                               ~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-LibreOffice.ps1

And no results

DanGough commented 4 months ago

Thanks, now resolved in 2402.1. They changed the names of the branches from Fresh/Still to Latest/Previous, it was a single line change!