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/README.md b/README.md index 880c9eba..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. @@ -52,7 +53,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 🍻. 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" }, 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/config/themes.json b/config/themes.json index d4970cac..724cb6af 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/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": [ { diff --git a/functions/private/Initialize-InstallCategoryAppList.ps1 b/functions/private/Initialize-InstallCategoryAppList.ps1 index 07fc7947..47c6d72e 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, "HeadingFontSize") + $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-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}"} } } 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/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 %} diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index 084c6d3c..528b3b9b 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -278,7 +278,7 @@ - +