#region Configurable Variables <# .NOTES Use this section to configure testing variables. IE if the number of tabs change in the GUI update that variable here. All variables need to be global to be passed between contexts #> $global:FormName = "Chris Titus Tech's Windows Utility" #endregion Configurable Variables #region Load Variables needed for testing #Config Files $global:application = get-content ./config/applications.json | ConvertFrom-Json $global:preset = get-content ./config/preset.json | ConvertFrom-Json $global:feature = get-content ./config/feature.json | ConvertFrom-Json $global:tweaks = get-content ./config/tweaks.json | ConvertFrom-Json #GUI $global:sync = [Hashtable]::Synchronized(@{}) $global:inputXML = get-content MainWindow.xaml $global:inputXML = $global:inputXML -replace 'mc:Ignorable="d"', '' -replace "x:N", 'N' -replace '^