diff --git a/scripts/main.ps1 b/scripts/main.ps1 index 5f93cd39a2..74bfd9f531 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -95,12 +95,6 @@ try { Write-Host "Unable to load Windows.Markup.XamlReader. Double-check syntax and ensure .net is installed." } -# Load the configuration files -#Invoke-WPFUIElements -configVariable $sync.configs.nav -targetGridName "WPFMainGrid" -Invoke-WPFUIElements -configVariable $sync.configs.applications -targetGridName "appspanel" -columncount 5 -Invoke-WPFUIElements -configVariable $sync.configs.tweaks -targetGridName "tweakspanel" -columncount 2 -Invoke-WPFUIElements -configVariable $sync.configs.feature -targetGridName "featurespanel" -columncount 2 - if (-NOT ($readerOperationSuccessful)) { Write-Host "Failed to parse xaml content using Windows.Markup.XamlReader's Load Method." -ForegroundColor Red Write-Host "Quitting winutil..." -ForegroundColor Red @@ -110,6 +104,12 @@ if (-NOT ($readerOperationSuccessful)) { exit 1 } +# Load the configuration files +#Invoke-WPFUIElements -configVariable $sync.configs.nav -targetGridName "WPFMainGrid" +Invoke-WPFUIElements -configVariable $sync.configs.applications -targetGridName "appspanel" -columncount 5 +Invoke-WPFUIElements -configVariable $sync.configs.tweaks -targetGridName "tweakspanel" -columncount 2 +Invoke-WPFUIElements -configVariable $sync.configs.feature -targetGridName "featurespanel" -columncount 2 + #=========================================================================== # Store Form Objects In PowerShell #===========================================================================