You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The customer where I want to use this module, uses the ESR version.
Describe the solution you'd like
I would like to see that Get-MozillaFireFox also lists the ESR version.
"FIREFOX_ESR" nest to the "LATEST_FIREFOX_VERSION"
Maybe something like:
$Editions=@('LATEST_FIREFOX_VERSION','FIREFOX_ESR')
ForEach ($langin$Language) {
ForEach ($platin$Platform) {
ForEach ($editionin$Editions) {
# Select the download file for the selected platformSwitch ($plat) {
"win64" { $file="Firefox%20Setup%20$($firefoxVersions.$edition).exe" }
"win32" { $file="Firefox%20Setup%20$($firefoxVersions.$edition).exe" }
}
switch ($edition) {
"LATEST_FIREFOX_VERSION" {$EditionName="Current"}
"FIREFOX_ESR" {$EditionName="ESR"}
}
# Build object and output to the pipeline$PSObject= [PSCustomObject] @{
Version=$firefoxVersions.$editionArchitecture=Get-Architecture-String $platLanguage=$langEdition=$EditionNameFilename=$file.Replace('%20','')
URI="$($res.Get.DownloadUri)$($firefoxVersions.$edition)/$($plat)/$($lang)/$($file)"
}
Write-Output-InputObject $PSObject
}
}
}
You'll get the following output with that.
Version : 76.0.1
Architecture : x64
Language : en-US
Edition : Current
Filename : Firefox Setup 76.0.1.exe
URI : https://download-installer.cdn.mozilla.net/pub/firefox/releases/76.0.1/win64/en-US/Firefox%20Setup%2076.
0.1.exe
Version : 68.8.0esr
Architecture : x64
Language : en-US
Edition : ESR
Filename : Firefox Setup 68.8.0esr.exe
URI : https://download-installer.cdn.mozilla.net/pub/firefox/releases/68.8.0esr/win64/en-US/Firefox%20Setup%20
68.8.0esr.exe
Version : 76.0.1
Architecture : x86
Language : en-US
Edition : Current
Filename : Firefox Setup 76.0.1.exe
URI : https://download-installer.cdn.mozilla.net/pub/firefox/releases/76.0.1/win32/en-US/Firefox%20Setup%2076.
0.1.exe
Version : 68.8.0esr
Architecture : x86
Language : en-US
Edition : ESR
Filename : Firefox Setup 68.8.0esr.exe
URI : https://download-installer.cdn.mozilla.net/pub/firefox/releases/68.8.0esr/win32/en-US/Firefox%20Setup%20
68.8.0esr.exe
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The customer where I want to use this module, uses the ESR version.
Describe the solution you'd like
I would like to see that Get-MozillaFireFox also lists the ESR version.
"FIREFOX_ESR" nest to the "LATEST_FIREFOX_VERSION"
Maybe something like:
You'll get the following output with that.
The text was updated successfully, but these errors were encountered: