mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-02-17 07:56:24 +00:00
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:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user