Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ body:
label: Have you reviewed the documentation?
description: "Please confirm that you've reviewed the following links:"
options:
- label: "Troubleshooting at: https://eucpilots.com/evergreen-docs/troubleshoot/"
- label: "Known issues at: https://eucpilots.com/evergreen-docs/issues/"
- label: "Troubleshooting at: https://eucpilots.com/evergreen/troubleshoot/"
- label: "Known issues at: https://eucpilots.com/evergreen/issues/"
- type: textarea
id: verbose
attributes:
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ contact_links:
url: https://github.com/EUCPilots/evergreen-apps/issues
about: For new apps, see the evergreen-apps repository.
- name: Review known issues
url: https://eucpilots.com/evergreen-docs/issues
url: https://eucpilots.com/evergreen/issues
about: Please ensure you have read the Evergreen known issues list before creating an issue.
- name: Review troubleshooting
url: https://eucpilots.com/evergreen-docs/troubleshoot/
url: https://eucpilots.com/evergreen/troubleshoot/
about: Please ensure you have read the Evergreen troubleshooting article before creating an issue.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ body:
label: Have you reviewed the documentation?
description: "Please confirm that you've reviewed the documentation before making this feature request."
options:
- label: "Documentation at: https://eucpilots.com/evergreen-docs/"
- label: "Documentation at: https://eucpilots.com/evergreen/"
14 changes: 10 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log

## VERSION

* `Get-GitHubRepoRelease` - Add logic to remove the Sha256 property when the asset has no digest. This prevents emitting an empty Sha256 field for Windows assets and ensures the output object only contains the digest when present
* `Get-InstallerType ` - Add more output strings to provide more values to `InstallerType` property. Address [#124](https://github.com/EUCPilots/evergreen-apps/issues/124)
* Normalise "anycpu" to "any", and "aarch64" to "ARM64" in `Get-Architecture`

## 2603.2832.0

* Update `Shared/Get-AzulZulu.ps1` - Refine the selection to exclude gzipped downloads when filtering latest releases.
Expand Down Expand Up @@ -945,7 +951,7 @@ BREAKING CHANGES
* Update `VMwareHorizonClient` with additional filtering to select the latest version correctly to address [#161](https://github.com/aaronparker/evergreen/issues/161)
* Add internal function `Save-File` to download a URL with `Invoke-WebRequest` and return the downloaded file path
* Update internal application functions for consistent use of `Resolve-SystemNetWebRequest` to address [#174](https://github.com/aaronparker/evergreen/issues/174) - `Get-FoxitReader`, `Get-LogMeInGoToOpener`, `Get-MicrosoftSsms`, `Get-MicrosoftVisualStudio`, `Get-RingCentral`, `Get-Slack`
* Update references to documentation site `https://eucpilots.com/evergreen-docs` to `https://eucpilots.com/evergreen-docs`
* Update references to documentation site `https://eucpilots.com/evergreen` to `https://eucpilots.com/evergreen`

## 2105.383

Expand Down Expand Up @@ -984,7 +990,7 @@ BREAKING CHANGES

* Changes `FoxitReader` to return MSI installers instead of EXEs. Removes Elex, Portuguese (Portugal), and Turkish language support from this application because the installers returned are out of date.
* Adds the following languages to `AdobeAcrobatReaderDC`: Swedish, Basque, Catalan, Croatian, Czech, Hungarian, Polish, Romanian, Russian, Slovakian, Slovenian, Turkish, Ukrainian
* Adds a known issues list to the documentation: [https://eucpilots.com/evergreen-docs/knownissues.html](https://eucpilots.com/evergreen-docs/knownissues.html)
* Adds a known issues list to the documentation: [https://eucpilots.com/evergreen/knownissues.html](https://eucpilots.com/evergreen/knownissues.html)

## 2104.348

Expand All @@ -998,7 +1004,7 @@ BREAKING CHANGES

## 2104.337

* **BREAKING CHANGE**: This version removes the `Get-` function for each application and introduces `Get-EvergreenApp`. See the docs site on how to use the new functions [https://eucpilots.com/evergreen-docs/](https://eucpilots.com/evergreen-docs/)
* **BREAKING CHANGE**: This version removes the `Get-` function for each application and introduces `Get-EvergreenApp`. See the docs site on how to use the new functions [https://eucpilots.com/evergreen/](https://eucpilots.com/evergreen/)
* Adds `Get-EvergreenApp`, `Find-EvergreenApp` and `Save-EvergreenApp`
* Adds file type to SourceForge applications
* Re-instates `ControlUpAgent` and `ControlUpConsole`
Expand Down Expand Up @@ -1049,7 +1055,7 @@ BREAKING CHANGES
* Updates `Get-MicrosoftWvdRemoteDesktop` to output the `URI` property value in the format `https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RE4MntQ` instead of the original `fwlink` source URL (e.g. `https://go.microsoft.com/fwlink/?linkid=2068602`)
* Updates the following functions to use `Invoke-RestMethod` (via `Invoke-RestMethodWrapper`) instead of `Invoke-WebRequest` to simplify code and fix an issue where some functions where returning `Version` as a PSObject instead of System.String ([#109](https://github.com/aaronparker/Evergreen/issues/109))
* `Get-AtlassianBitbucket`, `Get-Cyberduck`, `Get-FileZilla`, `Get-Fork`, `Get-RingCentral`, `Get-ScooterBeyondCompare`, `Get-SumatraPDFReader`, `Get-VideoLanVlcPlayer`
* Updates module `ReleaseNotes` location to: [https://eucpilots.com/evergreen-docs/changelog.html](https://eucpilots.com/evergreen-docs/changelog.html)
* Updates module `ReleaseNotes` location to: [https://eucpilots.com/evergreen/changelog.html](https://eucpilots.com/evergreen/changelog.html)

## 2101.281

Expand Down
6 changes: 3 additions & 3 deletions Evergreen/Evergreen.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
},
"Uri": {
"Project": "https://github.com/eucpilots/evergreen-module/",
"Docs": "https://eucpilots.com/evergreen-docs/",
"Issues": "https://eucpilots.com/evergreen-docs/issues/",
"Info": "https://eucpilots.com/evergreen-docs/troubleshoot/"
"Docs": "https://eucpilots.com/evergreen/",
"Issues": "https://eucpilots.com/evergreen/issues/",
"Info": "https://eucpilots.com/evergreen/troubleshoot/"
}
}
4 changes: 2 additions & 2 deletions Evergreen/Evergreen.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ PrivateData = @{
LicenseUri = 'https://github.com/EUCPilots/evergreen-module/blob/main/LICENSE'

# A URL to the main website for this project.
ProjectUri = 'https://eucpilots.com/evergreen-docs/'
ProjectUri = 'https://eucpilots.com/evergreen/'

# A URL to an icon representing this module.
IconUri = 'https://raw.githubusercontent.com/eucpilots/evergreen-module/refs/heads/main/img/evergreenbulb.png'

# ReleaseNotes of this module
ReleaseNotes = 'https://eucpilots.com/evergreen-docs/changelog'
ReleaseNotes = 'https://eucpilots.com/evergreen/changelog'

# Prerelease string of this module
# Prerelease = ''
Expand Down
53 changes: 27 additions & 26 deletions Evergreen/Private/Get-Architecture.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,34 @@ function Get-Architecture {
)

switch -Regex ($String.ToLower()) {
"aarch64" { $architecture = "ARM64"; break }
"amd64" { $architecture = "x64"; break }
"arm64" { $architecture = "ARM64"; break }
"arm32" { $architecture = "ARM32"; break }
"arm" { $architecture = "ARM64"; break }
"nt64" { $architecture = "x64"; break }
"nt32" { $architecture = "x86"; break }
"win64" { $architecture = "x64"; break }
"win32" { $architecture = "x86"; break }
"aarch64" { $architecture = "ARM64"; break }
"amd64" { $architecture = "x64"; break }
"anycpu" { $architecture = "any"; break }
"arm64" { $architecture = "ARM64"; break }
"arm32" { $architecture = "ARM32"; break }
"arm" { $architecture = "ARM"; break }
"nt64" { $architecture = "x64"; break }
"nt32" { $architecture = "x86"; break }
"win64" { $architecture = "x64"; break }
"win32" { $architecture = "x86"; break }
"win-arm64" { $architecture = "ARM64"; break }
"win-x64" { $architecture = "x64"; break }
"win-x86" { $architecture = "x86"; break }
"x86_64" { $architecture = "x64"; break }
"x64" { $architecture = "x64"; break }
"w64" { $architecture = "x64"; break }
"-64" { $architecture = "x64"; break }
"64-bit" { $architecture = "x64"; break }
"64bit" { $architecture = "x64"; break }
"32-bit" { $architecture = "x86"; break }
"32bit" { $architecture = "x86"; break }
"x32" { $architecture = "x86"; break }
"w32" { $architecture = "x86"; break }
"-32" { $architecture = "x86"; break }
"-x86" { $architecture = "x86"; break }
"x86" { $architecture = "x86"; break }
"e64\." { $architecture = "x64"; break }
"64\." { $architecture = "x64"; break }
"win-x64" { $architecture = "x64"; break }
"win-x86" { $architecture = "x86"; break }
"x86_64" { $architecture = "x64"; break }
"x64" { $architecture = "x64"; break }
"w64" { $architecture = "x64"; break }
"-64" { $architecture = "x64"; break }
"64-bit" { $architecture = "x64"; break }
"64bit" { $architecture = "x64"; break }
"32-bit" { $architecture = "x86"; break }
"32bit" { $architecture = "x86"; break }
"x32" { $architecture = "x86"; break }
"w32" { $architecture = "x86"; break }
"-32" { $architecture = "x86"; break }
"-x86" { $architecture = "x86"; break }
"x86" { $architecture = "x86"; break }
"e64\." { $architecture = "x64"; break }
"64\." { $architecture = "x64"; break }
default {
Write-Verbose -Message "$($MyInvocation.MyCommand): Architecture not found in $String, defaulting to x86."
$architecture = "x86"
Expand Down
16 changes: 11 additions & 5 deletions Evergreen/Private/Get-InstallerType.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@ function Get-InstallerType {
)

switch -Regex ($String.ToLower()) {
"min" { $Type = "Minimal"; break }
"user" { $Type = "User"; break }
"portable" { $Type = "Portable"; break }
"airgap" { $Type = "Airgap"; break }
"debug" { $Type = "Debug"; break }
"grouppolicy" { $Type = "GroupPolicy"; break }
"minimalist" { $Type = "Minimal"; break }
"ndm" { $Type = "NonDarkMode"; break }
"no-installer" { $Type = "Portable"; break }
"debug" { $Type = "Debug"; break }
"airgap" { $Type = "Airgap"; break }
"noadmin" { $Type = "NoAdmin"; break }
"portable" { $Type = "Portable"; break }
"qt5" { $Type = "Qt5"; break }
"qt6" { $Type = "Qt6"; break }
"user" { $Type = "User"; break }
"winmsi" { $Type = "MSI"; break }
default {
Write-Verbose -Message "$($MyInvocation.MyCommand): Installer type not found in $String, defaulting to 'Default'."
$Type = "Default"
Expand Down
10 changes: 8 additions & 2 deletions Evergreen/Shared/Get-GitHubRepoRelease.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function Get-GitHubRepoRelease {
# Build the output object
if ((Get-Platform -String $asset.browser_download_url) -eq "Windows") {

$PSObject = [PSCustomObject] @{
$Object = [PSCustomObject] @{
Version = $Version
Date = ConvertTo-DateTime -DateTime $item.created_at -Pattern "MM/dd/yyyy HH:mm:ss"
Size = $asset.size
Expand All @@ -205,7 +205,13 @@ function Get-GitHubRepoRelease {
Type = [System.IO.Path]::GetExtension($asset.browser_download_url).Split(".")[-1]
URI = $asset.browser_download_url
}
Write-Output -InputObject $PSObject

# If the asset doesn't have a digest property, remove the Sha256 property from the output object
if ($null -eq $asset.digest) {
$Object.PSObject.Properties.Remove('Sha256')
}

Write-Output -InputObject $Object
}
}
else {
Expand Down
Loading
Loading