@@ -534,18 +534,18 @@ function Update-WAUGUIFromConfig {
534534 }
535535
536536 # Update information section
537- $Controls.VersionText.Text = " Version: $ ( $updatedConfig.ProductVersion ) "
537+ $Controls.VersionText.Text = " Version: $ ( $updatedConfig.ProductVersion ) | "
538538 # Get last run time for the scheduled task 'Winget-AutoUpdate'
539539 try {
540540 $task = Get-ScheduledTask - TaskName ' Winget-AutoUpdate' - ErrorAction Stop
541541 $lastRunTime = $task | Get-ScheduledTaskInfo | Select-Object - ExpandProperty LastRunTime
542542 if ($lastRunTime -and $lastRunTime -ne [datetime ]::MinValue) {
543- $Controls.RunDate.Text = " Latest Run: $ ( $lastRunTime.ToString (' yyyy-MM-dd HH:mm' )) "
543+ $Controls.RunDate.Text = " Latest Run: $ ( $lastRunTime.ToString (' yyyy-MM-dd HH:mm' )) "
544544 } else {
545- $Controls.RunDate.Text = " Latest Run: Never"
545+ $Controls.RunDate.Text = " Latest Run: Never"
546546 }
547547 } catch {
548- $Controls.RunDate.Text = " Latest Run: Unknown"
548+ $Controls.RunDate.Text = " Latest Run: Unknown"
549549 }
550550 $Controls.InstallLocationText.Text = " Install Location: $ ( $updatedConfig.InstallLocation ) "
551551
@@ -843,14 +843,13 @@ function Show-WAUSettingsGUI {
843843 <StackPanel Margin="10">
844844 <StackPanel Orientation="Horizontal">
845845 <TextBlock x:Name="VersionText" Text="Version: " FontSize="9"/>
846- <TextBlock Width="20"/>
847846 <TextBlock x:Name="RunDate" Text="Latest Run: " FontSize="9"/>
848847 </StackPanel>
849848 <TextBlock x:Name="InstallLocationText" Text="Install Location: " FontSize="9"/>
850849 <TextBlock x:Name="WAUAutoUpdateText" Text="WAU AutoUpdate: " FontSize="9"/>
851850 </StackPanel>
852851 </GroupBox>
853-
852+
854853 <!-- Status Bar -->
855854 <TextBlock Grid.Row="8" x:Name="StatusBarText" Text="$Script :STATUS_READY_TEXT " FontSize="10" Foreground="$Script :COLOR_INACTIVE " VerticalAlignment="Bottom"/>
856855
0 commit comments