Refactors UI configuration and state management

Moves UI configuration loading and retrieval logic into a new `FFUUI.Core.Config` module.
Removes the `Set-UIValue` helper function from `BuildFFUVM_UI.ps1` and the `Get-UIConfig` function from `FFUUI.Core.psm1`.
This centralizes UI-related configuration handling for improved modularity.
This commit is contained in:
rbalsleyMSFT
2025-06-13 13:43:43 -07:00
parent 8c9d40eefa
commit 4b4f5eba8c
4 changed files with 230 additions and 232 deletions
+3 -2
View File
@@ -66,13 +66,14 @@ RequiredModules = @('..\FFU.Common\FFU.Common.psd1')
# FormatsToProcess = @()
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
NestedModules = @('FFUUI.Core.Shared.psm1',
'FFUUI.Core.Applications.psm1',
NestedModules = @('FFUUI.Core.Applications.psm1',
'FFUUI.Core.Config.psm1',
'FFUUI.Core.Drivers.psm1',
'FFUUI.Core.Drivers.Dell.psm1',
'FFUUI.Core.Drivers.HP.psm1',
'FFUUI.Core.Drivers.Lenovo.psm1',
'FFUUI.Core.Drivers.Microsoft.psm1',
'FFUUI.Core.Shared.psm1',
'FFUUI.Core.WindowsSettings.psm1',
'FFUUI.Core.Winget.psm1')