From 36c984b66cfb3ec69a90fb08a5b0505ff08e0902 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Wed, 19 Mar 2025 15:33:49 +0000 Subject: [PATCH 1/7] =?UTF-8?q?Deploying=20to=20main=20from=20@=20ChrisTit?= =?UTF-8?q?usTech/winutil@d215d0fc2c82c898d0a204ce17ae4d42fdeb3344=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 880c9eba..9a592c60 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ If you have Issues, refer to [Known Issues](https://christitustech.github.io/win These are the sponsors that help keep this project alive with monthly contributions. -User avatar: TriHyderaUser avatar: User avatar: User avatar: Mark AmosUser avatar: User avatar: Martin StockzellUser avatar: Jason A. DiegmuellerUser avatar: User avatar: RMSUser avatar: StefanUser avatar: PaulUser avatar: Dave JonesUser avatar: Anthony MendezUser avatar: claudemodsUser avatar: User avatar: MaxUser avatar: DursleyGuyUser avatar: Phillip WatersUser avatar: User avatar: User avatar: Kiera Meredith +User avatar: TriHyderaUser avatar: User avatar: Mark AmosUser avatar: User avatar: Martin StockzellUser avatar: Jason A. DiegmuellerUser avatar: User avatar: RMSUser avatar: StefanUser avatar: PaulUser avatar: Dave JonesUser avatar: Anthony MendezUser avatar: claudemodsUser avatar: User avatar: MaxUser avatar: DursleyGuyUser avatar: Phillip WatersUser avatar: User avatar: User avatar: Kiera Meredith ## 🏅 Thanks to all Contributors Thanks a lot for spending your time helping Winutil grow. Thanks a lot! Keep rocking 🍻. From 0f4fca31b96b13084ae177c14668a25fbf546857 Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Wed, 19 Mar 2025 21:56:00 +0300 Subject: [PATCH 2/7] [DOCS] Remove old Announcement about not adding any new applications to the app list (#3269) * Remove old Announcement about not adding any new applications to the app list * Update '.gitignore' file The generated 'site' folder, which contains the docs build result by 'mkdocs', in the same folder as 'mkdocs.yml' (i.e. under '.github' folder), so I've temporarily excluded with '.gitignore' file until we've fully migrated the docs site into another repo. --- .gitignore | 5 ++++- overrides/main.html | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e8ae34a6..fb39f328 100644 --- a/.gitignore +++ b/.gitignore @@ -47,4 +47,7 @@ True test.ps1 winutil.ps1 -binary/ \ No newline at end of file +# temporary excludes for docs +.github/site/ + +binary/ diff --git a/overrides/main.html b/overrides/main.html index c8d5a413..60fb8ea7 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -3,7 +3,6 @@ {% block header %} {{ super() }}
- Announcement: We are currently not adding any applications to WinUtil and any apps that will be added through a PR will be declined by the maintainer. Announcement: We are currently reworking the docs to use Hugo rather then mkdocs.
{% endblock %} From 4acad32a38dbfa62bf6133cabb27e049661b5a18 Mon Sep 17 00:00:00 2001 From: Martin Wiethan <47688561+Marterich@users.noreply.github.com> Date: Wed, 19 Mar 2025 19:59:10 +0100 Subject: [PATCH 3/7] Add Badge to Link to the Documentation at the Top of the Readme (#3265) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9a592c60..bb9a5369 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Version](https://img.shields.io/github/v/release/ChrisTitusTech/winutil?color=%230567ff&label=Latest%20Release&style=for-the-badge)](https://github.com/ChrisTitusTech/winutil/releases/latest) ![GitHub Downloads (specific asset, all releases)](https://img.shields.io/github/downloads/ChrisTitusTech/winutil/winutil.ps1?label=Total%20Downloads&style=for-the-badge) [![](https://dcbadge.limes.pink/api/server/https://discord.gg/RUbZUZyByQ?theme=default-inverted&style=for-the-badge)](https://discord.gg/RUbZUZyByQ) +[![Static Badge](https://img.shields.io/badge/Documentation-_?style=for-the-badge&logo=bookstack&color=grey)](https://christitustech.github.io/winutil/) This utility is a compilation of Windows tasks I perform on each Windows system I use. It is meant to streamline *installs*, debloat with *tweaks*, troubleshoot with *config*, and fix Windows *updates*. I am extremely picky about any contributions to keep this project clean and efficient. From b3dd1a1a50a2cf5ae65547eef29db42370b46292 Mon Sep 17 00:00:00 2001 From: Martin Wiethan <47688561+Marterich@users.noreply.github.com> Date: Wed, 19 Mar 2025 20:00:30 +0100 Subject: [PATCH 4/7] Add God Mode panel to Legacy Windows Panels (#3264) --- config/feature.json | 7 +++++++ functions/public/Invoke-WPFButton.ps1 | 1 + functions/public/Invoke-WPFControlPanel.ps1 | 1 + 3 files changed, 9 insertions(+) diff --git a/config/feature.json b/config/feature.json index 4a296cf5..f24aeac2 100644 --- a/config/feature.json +++ b/config/feature.json @@ -306,6 +306,13 @@ "ButtonWidth": "300", "link": "https://christitustech.github.io/winutil/dev/features/Legacy-Windows-Panels/user" }, + "WPFPanelGodMode": { + "Content": "God Mode", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300" + }, "WPFWinUtilInstallPSProfile": { "Content": "Install CTT PowerShell Profile", "category": "Powershell Profile", diff --git a/functions/public/Invoke-WPFButton.ps1 b/functions/public/Invoke-WPFButton.ps1 index 0b79e553..b90c63d3 100644 --- a/functions/public/Invoke-WPFButton.ps1 +++ b/functions/public/Invoke-WPFButton.ps1 @@ -44,6 +44,7 @@ function Invoke-WPFButton { "WPFPanelprinter" {Invoke-WPFControlPanel -Panel $button} "WPFPanelsystem" {Invoke-WPFControlPanel -Panel $button} "WPFPaneluser" {Invoke-WPFControlPanel -Panel $button} + "WPFPanelGodMode" {Invoke-WPFControlPanel -Panel $button} "WPFUpdatesdefault" {Invoke-WPFFixesUpdate} "WPFFixesUpdate" {Invoke-WPFFixesUpdate} "WPFFixesWinget" {Invoke-WPFFixesWinget} diff --git a/functions/public/Invoke-WPFControlPanel.ps1 b/functions/public/Invoke-WPFControlPanel.ps1 index b7a628e7..6196f6ef 100644 --- a/functions/public/Invoke-WPFControlPanel.ps1 +++ b/functions/public/Invoke-WPFControlPanel.ps1 @@ -19,5 +19,6 @@ function Invoke-WPFControlPanel { "WPFPanelprinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"} "WPFPanelsystem" {cmd /c sysdm.cpl} "WPFPaneluser" {cmd /c "control userpasswords2"} + "WPFPanelGodMode" {Start-Process "shell:::{ED7BA470-8E54-465E-825C-99712043E01C}"} } } From 8f9e7d1b7c2d46529b1c2024d80b2bab23bf3673 Mon Sep 17 00:00:00 2001 From: Martin Wiethan <47688561+Marterich@users.noreply.github.com> Date: Wed, 19 Mar 2025 20:05:55 +0100 Subject: [PATCH 5/7] Correct the Header Font Size (#3257) * Correct the Header Font Size naming and simplify the creation of the Selected Apps Button * Adjust HeaderFontSize from 18 to 16 for improved readability --- config/themes.json | 2 +- .../Initialize-InstallCategoryAppList.ps1 | 2 +- .../private/Initialize-InstallHeader.ps1 | 23 +++++-------------- functions/public/Invoke-WPFUIElements.ps1 | 2 +- xaml/inputXML.xaml | 2 +- 5 files changed, 10 insertions(+), 21 deletions(-) diff --git a/config/themes.json b/config/themes.json index 4869120f..40b0cf64 100644 --- a/config/themes.json +++ b/config/themes.json @@ -7,7 +7,7 @@ "CustomDialogHeight": "200", "FontSize": "12", "FontFamily": "Arial", - "HeadingFontSize": "16", + "HeaderFontSize": "16", "HeaderFontFamily": "Consolas, Monaco", "CheckBoxBulletDecoratorSize": "14", "CheckBoxMargin": "15,0,0,2", diff --git a/functions/private/Initialize-InstallCategoryAppList.ps1 b/functions/private/Initialize-InstallCategoryAppList.ps1 index aa5151e0..6f2b5b7c 100644 --- a/functions/private/Initialize-InstallCategoryAppList.ps1 +++ b/functions/private/Initialize-InstallCategoryAppList.ps1 @@ -42,7 +42,7 @@ function Initialize-InstallCategoryAppList { $loadingLabel.Content = "Loading, please wait..." $loadingLabel.HorizontalAlignment = "Center" $loadingLabel.VerticalAlignment = "Center" - $loadingLabel.SetResourceReference([Windows.Controls.Control]::FontSizeProperty, "FontSizeHeading") + $loadingLabel.SetResourceReference([Windows.Controls.Control]::FontSizeProperty, "HeaderFontSize") $loadingLabel.FontWeight = [Windows.FontWeights]::Bold $loadingLabel.Foreground = [Windows.Media.Brushes]::Gray $sync.LoadingLabel = $loadingLabel diff --git a/functions/private/Initialize-InstallHeader.ps1 b/functions/private/Initialize-InstallHeader.ps1 index 2e70533d..c218dab3 100644 --- a/functions/private/Initialize-InstallHeader.ps1 +++ b/functions/private/Initialize-InstallHeader.ps1 @@ -29,7 +29,8 @@ function Initialize-InstallHeader { $buttonConfigs = @( @{Name="WPFInstall"; Content="Install/Upgrade Selected"}, @{Name="WPFInstallUpgrade"; Content="Upgrade All"}, - @{Name="WPFUninstall"; Content="Uninstall Selected"} + @{Name="WPFUninstall"; Content="Uninstall Selected"}, + @{Name="WPFselectedAppsButton"; Content="Selected Apps: 0"} ) foreach ($config in $buttonConfigs) { @@ -38,18 +39,9 @@ function Initialize-InstallHeader { $sync[$config.Name] = $button } - $selectedAppsButton = New-Object Windows.Controls.Button - $selectedAppsButton.Name = "WPFselectedAppsButton" - $selectedAppsButton.Content = "Selected Apps: 0" - $selectedAppsButton.SetResourceReference([Windows.Controls.Control]::FontSizeProperty, "FontSizeHeading") - $selectedAppsButton.SetResourceReference([Windows.Controls.Control]::MarginProperty, "TabContentMargin") - $selectedAppsButton.SetResourceReference([Windows.Controls.Control]::ForegroundProperty, "MainForegroundColor") - $selectedAppsButton.HorizontalAlignment = "Center" - $selectedAppsButton.VerticalAlignment = "Center" - $selectedAppsPopup = New-Object Windows.Controls.Primitives.Popup $selectedAppsPopup.IsOpen = $false - $selectedAppsPopup.PlacementTarget = $selectedAppsButton + $selectedAppsPopup.PlacementTarget = $sync.WPFselectedAppsButton $selectedAppsPopup.Placement = [System.Windows.Controls.Primitives.PlacementMode]::Bottom $selectedAppsPopup.AllowsTransparency = $true @@ -66,24 +58,21 @@ function Initialize-InstallHeader { $selectedAppsBorder.Child = $sync.selectedAppsstackPanel # Toggle selectedAppsPopup open/close with button - $selectedAppsButton.Add_Click({ + $sync.WPFselectedAppsButton.Add_Click({ $sync.selectedAppsPopup.IsOpen = -not $sync.selectedAppsPopup.IsOpen }) # Close selectedAppsPopup when mouse leaves both button and selectedAppsPopup - $selectedAppsButton.Add_MouseLeave({ + $sync.WPFselectedAppsButton.Add_MouseLeave({ if (-not $sync.selectedAppsPopup.IsMouseOver) { $sync.selectedAppsPopup.IsOpen = $false } }) $selectedAppsPopup.Add_MouseLeave({ - if (-not $selectedAppsButton.IsMouseOver) { + if (-not $sync.WPFselectedAppsButton.IsMouseOver) { $sync.selectedAppsPopup.IsOpen = $false } }) - $null = $wrapPanelTop.Children.Add($selectedAppsButton) - $sync.$($selectedAppsButton.Name) = $selectedAppsButton - [Windows.Controls.DockPanel]::SetDock($wrapPanelTop, [Windows.Controls.Dock]::Top) $null = $TargetElement.Children.Add($wrapPanelTop) } diff --git a/functions/public/Invoke-WPFUIElements.ps1 b/functions/public/Invoke-WPFUIElements.ps1 index f609b0d3..cfbf662b 100644 --- a/functions/public/Invoke-WPFUIElements.ps1 +++ b/functions/public/Invoke-WPFUIElements.ps1 @@ -144,7 +144,7 @@ function Invoke-WPFUIElements { $label = New-Object Windows.Controls.Label $label.Content = $category -replace ".*__", "" - $label.SetResourceReference([Windows.Controls.Control]::FontSizeProperty, "FontSizeHeading") + $label.SetResourceReference([Windows.Controls.Control]::FontSizeProperty, "HeaderFontSize") $label.SetResourceReference([Windows.Controls.Control]::FontFamilyProperty, "HeaderFontFamily") $itemsControl.Items.Add($label) | Out-Null $sync[$category] = $label diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index 63a41af5..5de6af1f 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -202,7 +202,7 @@ - + From fd03f33c503e8ac695cf8995e8831b3d781ca3f0 Mon Sep 17 00:00:00 2001 From: zy <50119098+zydezu@users.noreply.github.com> Date: Wed, 19 Mar 2025 19:07:21 +0000 Subject: [PATCH 6/7] Correct description for Prism Launcher (#3256) --- config/applications.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/applications.json b/config/applications.json index 96c83906..970f3bad 100644 --- a/config/applications.json +++ b/config/applications.json @@ -1699,7 +1699,7 @@ "category": "Games", "choco": "prismlauncher", "content": "Prism Launcher", - "description": "Prism Launcher is a game launcher and manager designed to provide a clean and intuitive interface for organizing and launching your games.", + "description": "Prism Launcher is an Open Source Minecraft launcher with the ability to manage multiple instances, accounts and mods.", "link": "https://prismlauncher.org/", "winget": "PrismLauncher.PrismLauncher" }, From 698f1644c3c0dc2483049c4773b7bf11cb0a77d6 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Wed, 19 Mar 2025 20:32:16 +0100 Subject: [PATCH 7/7] [Toggle] Hide Settings Homepage (#3245) * addHideSettingsToggle * set OriginalValue & DefaultState --- config/tweaks.json | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/config/tweaks.json b/config/tweaks.json index 799df24a..27c7f3b5 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -3414,12 +3414,30 @@ ], "link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/WPFToggleStartMenuRecommendations" }, + "WPFToggleHideSettingsHome": { + "Content": "Remove Settings Home Page", + "Description": "Removes the Home page in the Windows Settings app.", + "category": "Customize Preferences", + "panel": "2", + "Order": "a105_", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer", + "Name": "SettingsPageVisibility", + "Type": "String", + "Value": "hide:home", + "OriginalValue": "show:home", + "DefaultState": "false" + } + ] + }, "WPFToggleSnapWindow": { "Content": "Snap Window", "Description": "If enabled you can align windows by dragging them. | Relogin Required", "category": "Customize Preferences", "panel": "2", - "Order": "a105_", + "Order": "a106_", "Type": "Toggle", "registry": [ { @@ -3438,7 +3456,7 @@ "Description": "If enabled then Snap preview is disabled when maximize button is hovered.", "category": "Customize Preferences", "panel": "2", - "Order": "a106_", + "Order": "a107_", "Type": "Toggle", "registry": [ { @@ -3467,7 +3485,7 @@ "Description": "If enabled then you will get suggestions to snap other applications in the left over spaces.", "category": "Customize Preferences", "panel": "2", - "Order": "a107_", + "Order": "a108_", "Type": "Toggle", "registry": [ { @@ -3496,7 +3514,7 @@ "Description": "If Enabled then Cursor movement is affected by the speed of your physical mouse movements.", "category": "Customize Preferences", "panel": "2", - "Order": "a108_", + "Order": "a109_", "Type": "Toggle", "registry": [ { @@ -3531,7 +3549,7 @@ "Description": "If Enabled then Sticky Keys is activated - Sticky keys is an accessibility feature of some graphical user interfaces which assists users who have physical disabilities or help users reduce repetitive strain injury.", "category": "Customize Preferences", "panel": "2", - "Order": "a109_", + "Order": "a110_", "Type": "Toggle", "registry": [ {