@@ -409,7 +409,7 @@ function Update-StatusDisplay {
409409 if ($interval -eq " Never" ) {
410410 $controls.StatusText.Text = " Disabled"
411411 $controls.StatusText.Foreground = " Red"
412- $controls.StatusDescription.Text = " WAU will not check for updates automatically when schedule is disabled"
412+ $controls.StatusDescription.Text = " WAU will not check for updates automatically when disabled"
413413 $controls.UpdateTimeTextBox.IsEnabled = $false
414414 $controls.RandomDelayTextBox.IsEnabled = $false
415415 } else {
@@ -629,6 +629,15 @@ function Show-WAUSettingsGUI {
629629 </StackPanel>
630630 <!-- Right column: Dev buttons (hidden by default) -->
631631 <StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center" Margin="10,0,0,0">
632+ <!-- Vertical links stack (hidden by default) -->
633+ <StackPanel x:Name="LinksStackPanel" Orientation="Vertical" VerticalAlignment="Top" Margin="0,0,15,0" Visibility="Collapsed">
634+ <TextBlock>
635+ <Hyperlink x:Name="ManifestsLink" NavigateUri="https://github.com/microsoft/winget-pkgs/tree/master/manifests" ToolTip="Open WinGet Manifests on GitHub">Manifests</Hyperlink>
636+ </TextBlock>
637+ <TextBlock Margin="0,0,0,0">
638+ <Hyperlink x:Name="IssuesLink" NavigateUri="https://github.com/microsoft/winget-pkgs/issues/new/choose" ToolTip="Create new issue for 'winget-pkgs' on GitHub">Issues</Hyperlink>
639+ </TextBlock>
640+ </StackPanel>
632641 <Button x:Name="DevTaskButton" Content="Dev_Task" Width="70" Height="25" Visibility="Collapsed" Margin="0,0,10,0"/>
633642 <Button x:Name="DevRegButton" Content="Dev_Reg" Width="70" Height="25" Visibility="Collapsed" Margin="0,0,0,0"/>
634643 </StackPanel>
@@ -880,6 +889,29 @@ function Show-WAUSettingsGUI {
880889 # Populate current settings
881890 Update-WAUGUIFromConfig - Controls $controls
882891
892+ # Hyperlink event handlers
893+ $controls.ManifestsLink.Add_RequestNavigate ({
894+ param ($linkSource , $navEventArgs )
895+ try {
896+ Start-Process $navEventArgs.Uri.AbsoluteUri
897+ $navEventArgs.Handled = $true
898+ }
899+ catch {
900+ [System.Windows.MessageBox ]::Show(" Failed to open link: $ ( $_.Exception.Message ) " , " Error" , " OK" , " Error" )
901+ }
902+ })
903+
904+ $controls.IssuesLink.Add_RequestNavigate ({
905+ param ($linkSource , $navEventArgs )
906+ try {
907+ Start-Process $navEventArgs.Uri.AbsoluteUri
908+ $navEventArgs.Handled = $true
909+ }
910+ catch {
911+ [System.Windows.MessageBox ]::Show(" Failed to open link: $ ( $_.Exception.Message ) " , " Error" , " OK" , " Error" )
912+ }
913+ })
914+
883915 # Dev button event handlers
884916 $controls.DevTaskButton.Add_Click ({
885917 try {
@@ -1066,12 +1098,16 @@ function Show-WAUSettingsGUI {
10661098 if ($controls.DevTaskButton.Visibility -eq ' Collapsed' ) {
10671099 $controls.DevTaskButton.Visibility = ' Visible'
10681100 $controls.DevRegButton.Visibility = ' Visible'
1101+ $controls.LinksStackPanel.Visibility = ' Visible'
1102+ $window.Title = " WAU Settings (Administrator) - Dev Tools"
10691103 } else {
10701104 $controls.DevTaskButton.Visibility = ' Collapsed'
10711105 $controls.DevRegButton.Visibility = ' Collapsed'
1106+ $controls.LinksStackPanel.Visibility = ' Collapsed'
1107+ $window.Title = " WAU Settings (Administrator)"
10721108 }
10731109 $_.Handled = $true
1074- }
1110+ }
10751111 })
10761112
10771113 # ESC key handler to close window
0 commit comments