Refactor Winget functions into a dedicated module

Extracts Winget-related functionalities, including search, list management, installation, and download tasks, from `BuildFFUVM_UI.ps1` and `FFUUI.Core.psm1`.
Consolidates these features into a new module, `FFUUI.Core.Winget.psm1`, to improve code organization and maintainability.
This commit is contained in:
rbalsleyMSFT
2025-06-13 10:34:46 -07:00
parent 7babad8262
commit d1835c5c06
4 changed files with 695 additions and 680 deletions
+2 -1
View File
@@ -71,7 +71,8 @@ NestedModules = @('FFUUI.Core.Shared.psm1',
'FFUUI.Core.Drivers.Dell.psm1',
'FFUUI.Core.Drivers.HP.psm1',
'FFUUI.Core.Drivers.Lenovo.psm1',
'FFUUI.Core.Drivers.Microsoft.psm1')
'FFUUI.Core.Drivers.Microsoft.psm1',
'FFUUI.Core.Winget.psm1')
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = '*'