From eeb0fd47dbdd49ce46487d61cd474e6c0f0bb785 Mon Sep 17 00:00:00 2001 From: Olai Date: Sun, 30 Oct 2022 02:26:00 +0200 Subject: [PATCH] AWDDAWSDASDSA --- EnhanceWindows.ps1 | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/EnhanceWindows.ps1 b/EnhanceWindows.ps1 index 6930b3c..ce6d429 100644 --- a/EnhanceWindows.ps1 +++ b/EnhanceWindows.ps1 @@ -453,24 +453,20 @@ function RadButton3 { } -function Remweather { - if ($checkbox22.Checked) +function Remweather(){ + if ($checkBox22.Checked) { Set-ItemProperty -path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds" -Name "ShellFeedsTaskbarViewMode" -Value 2 Stop-Process -n explorer c:\windows\explorer.exe } else - { + { Set-ItemProperty -path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds" -Name "ShellFeedsTaskbarViewMode" -Value 0 Stop-Process -n explorer c:\windows\explorer.exe + } } - -} - - -