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

LibreOffice returns an error #43

Closed j81blog closed 1 year ago

j81blog commented 1 year ago
Get-NevergreenApp -Name LibreOffice
C:\Program Files\WindowsPowerShell\Modules\nevergreen\2208.1\Apps\Get-LibreOffice.ps1 : Get-LibreOffice.ps1: Cannot val
idate argument on parameter 'Uri'. The argument "" does not match the "^(http|https)://" pattern. Supply an argument th
at matches "^(http|https)://" and try the command again.
At C:\Program Files\WindowsPowerShell\Modules\nevergreen\2208.1\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\2208.1\Apps\Get-LibreOffice.ps1 : Get-LibreOffice.ps1: Cannot val
idate argument on parameter 'Uri'. The argument "" does not match the "^(http|https)://" pattern. Supply an argument th
at matches "^(http|https)://" and try the command again.
At C:\Program Files\WindowsPowerShell\Modules\nevergreen\2208.1\Public\Get-NevergreenApp.ps1:61 char:31
+                     $Output = &$Script
+                               ~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-LibreOffice.ps1

Name         : LibreOffice
Channel      : Fresh
Language     : Multi
Architecture : x86
Type         : MSI
Version      : 7.4.1
Uri          : https://download.documentfoundation.org/libreoffice/stable/7.4.1/win/x86/LibreOffice_7.4.1_Win_x86.msi

Name         : LibreOffice
Channel      : Still
Language     : Multi
Architecture : x86
Type         : MSI
Version      : 7.3.6
Uri          : https://download.documentfoundation.org/libreoffice/stable/7.3.6/win/x86/LibreOffice_7.3.6_Win_x86.msi
DanGough commented 1 year ago

Fixed in Dev branch.