From 9b72c1e2de589a9e772575a7a57a1367b530e298 Mon Sep 17 00:00:00 2001 From: Gabi <218829269+GabiNun2@users.noreply.github.com> Date: Tue, 26 May 2026 13:21:12 -0700 Subject: [PATCH] Added advanced preset to tweaks (#4538) * Update preset.json * Update Invoke-WPFButton.ps1 * Update inputXML.xaml --- config/preset.json | 20 ++++++++++++++++++++ functions/public/Invoke-WPFButton.ps1 | 1 + xaml/inputXML.xaml | 1 + 3 files changed, 22 insertions(+) diff --git a/config/preset.json b/config/preset.json index 6d74c4b7..1093fbea 100644 --- a/config/preset.json +++ b/config/preset.json @@ -21,5 +21,25 @@ "WPFTweaksWPBT", "WPFTweaksServices", "WPFTweaksTelemetry" + ], + "Advanced": [ + "WPFTweaksActivity", + "WPFTweaksConsumerFeatures", + "WPFTweaksDisableExplorerAutoDiscovery", + "WPFTweaksWPBT", + "WPFTweaksDVR", + "WPFTweaksDeBloat", + "WPFTweaksLocation", + "WPFTweaksServices", + "WPFTweaksTelemetry", + "WPFTweaksDeleteTempFiles", + "WPFTweaksEndTaskOnTaskbar", + "WPFTweaksDisableStoreSearch", + "WPFTweaksRevertStartMenu", + "WPFTweaksWidget", + "WPFTweaksRemoveOneDrive", + "WPFTweaksWindowsAI", + "WPFTweaksRightClickMenu", + "WPFTweaksPowershell7Tele" ] } diff --git a/functions/public/Invoke-WPFButton.ps1 b/functions/public/Invoke-WPFButton.ps1 index 1e989229..f7419f64 100644 --- a/functions/public/Invoke-WPFButton.ps1 +++ b/functions/public/Invoke-WPFButton.ps1 @@ -52,6 +52,7 @@ function Invoke-WPFButton { "WPFExpandAllCategories" {Invoke-WPFToggleAllCategories -Action "Expand"} "WPFStandard" {Invoke-WPFPresets "Standard" -checkboxfilterpattern "WPFTweak*"} "WPFMinimal" {Invoke-WPFPresets "Minimal" -checkboxfilterpattern "WPFTweak*"} + "WPFAdvanced" {Invoke-WPFPresets "Advanced" -checkboxfilterpattern "WPFTweak*"} "WPFClearTweaksSelection" {Invoke-WPFPresets -imported $true -checkboxfilterpattern "WPFTweak*"} "WPFClearInstallSelection" {Invoke-WPFPresets -imported $true -checkboxfilterpattern "WPFInstall*"} "WPFtweaksbutton" {Invoke-WPFtweaksbutton} diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index 1a9245c1..fa272d91 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -1248,6 +1248,7 @@