From d1ca127f3e5a268b7416a016df7ac0781efad88f Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Fri, 23 Aug 2024 01:22:39 +0300 Subject: [PATCH] Rename Button Names to more clear and Make them follow CamelCase Naming --- functions/public/Invoke-WPFButton.ps1 | 12 ++++++------ xaml/inputXML.xaml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/functions/public/Invoke-WPFButton.ps1 b/functions/public/Invoke-WPFButton.ps1 index 3d3b163d..e3015f09 100644 --- a/functions/public/Invoke-WPFButton.ps1 +++ b/functions/public/Invoke-WPFButton.ps1 @@ -21,13 +21,13 @@ function Invoke-WPFButton { Switch -Wildcard ($Button) { "WPFTab?BT" {Invoke-WPFTab $Button} - "WPFinstall" {Invoke-WPFInstall} - "WPFuninstall" {Invoke-WPFUnInstall} + "WPFInstall" {Invoke-WPFInstall} + "WPFUninstall" {Invoke-WPFUnInstall} "WPFInstallUpgrade" {Invoke-WPFInstallUpgrade} - "WPFstandard" {Invoke-WPFPresets "Standard" -checkboxfilterpattern "WPFTweak*"} - "WPFminimal" {Invoke-WPFPresets "Minimal" -checkboxfilterpattern "WPFTweak*"} - "WPFclear" {Invoke-WPFPresets -imported $true -checkboxfilterpattern "WPFTweak*"} - "WPFclearWinget" {Invoke-WPFPresets -imported $true -checkboxfilterpattern "WPFInstall*"} + "WPFStandard" {Invoke-WPFPresets "Standard" -checkboxfilterpattern "WPFTweak*"} + "WPFMinimal" {Invoke-WPFPresets "Minimal" -checkboxfilterpattern "WPFTweak*"} + "WPFClearTweaksSelection" {Invoke-WPFPresets -imported $true -checkboxfilterpattern "WPFTweak*"} + "WPFClearInstallSelection" {Invoke-WPFPresets -imported $true -checkboxfilterpattern "WPFInstall*"} "WPFtweaksbutton" {Invoke-WPFtweaksbutton} "WPFOOSUbutton" {Invoke-WPFOOSU} "WPFAddUltPerf" {Invoke-WPFUltimatePerformance -State "Enable"} diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index 332122b0..9cbe66b1 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -788,11 +788,11 @@ -