From 8ba4aa497225750fd7d6b69cf214ece5544da360 Mon Sep 17 00:00:00 2001 From: Jon Carrier Date: Sat, 1 Jun 2024 12:01:53 -0400 Subject: [PATCH 1/3] Fixed issue #40 When processing $PSBoundParameters if a list of values are provided for a key, then join them using a comma. --- WinGet-Essentials/modules/WinGet-Update.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WinGet-Essentials/modules/WinGet-Update.psm1 b/WinGet-Essentials/modules/WinGet-Update.psm1 index 6f4fdb6..b014edc 100644 --- a/WinGet-Essentials/modules/WinGet-Update.psm1 +++ b/WinGet-Essentials/modules/WinGet-Update.psm1 @@ -543,7 +543,7 @@ function Update-WinGetSoftware "-$($_)" } } else { - "-$($_) $($PSBoundParameters[$_])" + "-$($_) $($PSBoundParameters[$_] -join ',')" } } $cmdArgs = "-NoLogo -NoExit -Command Update-WingetSoftware $($boundParamsString -join ' ')" From 4c492f5b08803fb09324fd57f53724fb632e2eb7 Mon Sep 17 00:00:00 2001 From: Jon Carrier Date: Sat, 1 Jun 2024 12:03:22 -0400 Subject: [PATCH 2/3] Updated copyright year --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 955698d..807a6ca 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022-2023 Jon Carrier +Copyright (c) 2022-2024 Jon Carrier Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 4bf8eab5867c36fa462d42a5cb22ba807ecaa244 Mon Sep 17 00:00:00 2001 From: Jon Carrier Date: Sat, 1 Jun 2024 12:03:48 -0400 Subject: [PATCH 3/3] Updated psd1 --- WinGet-Essentials/WinGet-Essentials.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WinGet-Essentials/WinGet-Essentials.psd1 b/WinGet-Essentials/WinGet-Essentials.psd1 index a88e2f4..72d9dac 100644 --- a/WinGet-Essentials/WinGet-Essentials.psd1 +++ b/WinGet-Essentials/WinGet-Essentials.psd1 @@ -1,6 +1,6 @@ @{ RootModule = 'WinGet-Essentials.psm1' - ModuleVersion = '1.11.0' + ModuleVersion = '1.11.1' GUID = '2a2b6c24-d6cc-4d59-a456-e7ccd90afd03' Author = 'Jon Carrier' CompanyName = 'Unknown'