From 7dcd0ed67e2159f57a046e0825052d9ea197f543 Mon Sep 17 00:00:00 2001 From: btstromberg <60756782+btstromberg@users.noreply.github.com> Date: Mon, 8 Jul 2024 22:11:39 +0200 Subject: [PATCH] Added get installed check for classic start menu tweak (#2231) Co-authored-by: Chris Titus --- config/tweaks.json | 9 +++++++++ functions/private/Invoke-WinUtilCurrentSystem.ps1 | 3 +++ winutil.ps1 | 13 ++++++++++++- 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/config/tweaks.json b/config/tweaks.json index 125c0c62..b9f17027 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2852,6 +2852,15 @@ $process = Get-Process -Name \"explorer\" Stop-Process -InputObject $process " + ], + "registry": [ + { + "Path": "HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\\InprocServer32", + "Name": "(default)", + "Value": "", + "OriginalValue": "", + "Type": "String" + } ] }, "WPFTweaksDiskCleanup": { diff --git a/functions/private/Invoke-WinUtilCurrentSystem.ps1 b/functions/private/Invoke-WinUtilCurrentSystem.ps1 index 000dea4c..a65ef60c 100644 --- a/functions/private/Invoke-WinUtilCurrentSystem.ps1 +++ b/functions/private/Invoke-WinUtilCurrentSystem.ps1 @@ -58,6 +58,9 @@ Function Invoke-WinUtilCurrentSystem { $values += $False } } + else { + $values += $False + } } } diff --git a/winutil.ps1 b/winutil.ps1 index cd5c91f5..f6313830 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -8,7 +8,6 @@ Author : Chris Titus @christitustech Runspace Author: @DeveloperDurp GitHub : https://github.com/ChrisTitusTech - Version : 24.07.08 #> param ( [switch]$Debug, @@ -1808,6 +1807,9 @@ Function Invoke-WinUtilCurrentSystem { $values += $False } } + else { + $values += $False + } } } @@ -11761,6 +11763,15 @@ $sync.configs.tweaks = '{ $process = Get-Process -Name \"explorer\" Stop-Process -InputObject $process " + ], + "registry": [ + { + "Path": "HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\\InprocServer32", + "Name": "(default)", + "Value": "", + "OriginalValue": "", + "Type": "String" + } ] }, "WPFTweaksDiskCleanup": {