Add Windows Update Settings (#450)

- Prevent getting updates as soon as they're available
- Prevent automatic restarts after updates while signed in
- Disable sharing downloaded updates with other PCs
This commit is contained in:
Jeffrey
2026-02-04 13:47:47 +01:00
committed by GitHub
parent 6a3f244f9b
commit 46deca7703
12 changed files with 95 additions and 7 deletions

View File

@@ -863,7 +863,7 @@ function OpenGUI {
if ($script:CategoryCardMap.ContainsKey($category)) { return $script:CategoryCardMap[$category] }
# Create a new card Border + StackPanel and add to shortest column
$target = $columns | Sort-Object { $_.Children.Count } | Select-Object -First 1
$target = $columns | Sort-Object @{Expression={$_.Children.Count}; Ascending=$true}, @{Expression={$columns.IndexOf($_)}; Ascending=$true} | Select-Object -First 1
$border = New-Object System.Windows.Controls.Border
$border.Style = $window.Resources['CategoryCardBorderStyle']