From 7e19a7edd2dce946d2c97ea963c67150bbde3c9b Mon Sep 17 00:00:00 2001 From: Aaron Parker Date: Mon, 24 Aug 2026 21:56:52 +1000 Subject: [PATCH] Map standalone installer type and update metadata - Adds support additional installer type keywords in `Get-InstallerType` - Refreshes module manifest metadata by updating the copyright year to 2026 and tightening the description wording. --- Evergreen/Evergreen.psd1 | 4 ++-- Evergreen/Private/Get-InstallerType.ps1 | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Evergreen/Evergreen.psd1 b/Evergreen/Evergreen.psd1 index 4abe4b01..51037a0a 100644 --- a/Evergreen/Evergreen.psd1 +++ b/Evergreen/Evergreen.psd1 @@ -27,10 +27,10 @@ Author = 'Aaron Parker' CompanyName = 'stealthpuppy' # Copyright statement for this module -Copyright = '(c) 2025 stealthpuppy, EUC Pilots. All rights reserved.' +Copyright = '(c) 2026 stealthpuppy, EUC Pilots. All rights reserved.' # Description of the functionality provided by this module -Description = 'Create evergreen Windows image builds with the latest versions of applications. Evergreen is a simple PowerShell module that retrieves the latest version numbers and download URLs for various software products directly from the vendor source.' +Description = 'Create evergreen Windows image builds with the latest versions of applications. Evergreen is a PowerShell module that retrieves the latest version numbers and download URLs for various software products directly from the vendor source.' # Minimum version of the Windows PowerShell engine required by this module PowerShellVersion = '4.0' diff --git a/Evergreen/Private/Get-InstallerType.ps1 b/Evergreen/Private/Get-InstallerType.ps1 index 280bf75d..afaa4cf9 100644 --- a/Evergreen/Private/Get-InstallerType.ps1 +++ b/Evergreen/Private/Get-InstallerType.ps1 @@ -7,15 +7,21 @@ function Get-InstallerType { ) switch -Regex ($String.ToLower()) { + "admin" { $Type = "Admin"; break } "airgap" { $Type = "Airgap"; break } + "classic" { $Type = "Classic"; break } "debug" { $Type = "Debug"; break } "grouppolicy" { $Type = "GroupPolicy"; break } "legacy" { $Type = "Legacy"; break } + "light" { $Type = "Light"; break } "minimalist" { $Type = "Minimal"; break } "ndm" { $Type = "NonDarkMode"; break } "no-installer" { $Type = "Portable"; break } "noadmin" { $Type = "NoAdmin"; break } "portable" { $Type = "Portable"; break } + "plus" { $Type = "Plus"; break } + "premium" { $Type = "Premium"; break } + "standalone" { $Type = "Standalone"; break } "qt5" { $Type = "Qt5"; break } "qt6" { $Type = "Qt6"; break } "user" { $Type = "User"; break }