diff --git a/config/tweaks.json b/config/tweaks.json index a4b6deec..24372883 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -691,41 +691,28 @@ "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeonedrive" }, "WPFTweaksRemoveHome": { - "Content": "File Explorer Home - Disable", - "Description": "Removes the Home from Explorer and sets This PC as default.", + "Content": "File Explorer Home and Gallery - Disable", + "Description": "Removes the Home and Gallery from Explorer and sets This PC as default.", "category": "z__Advanced Tweaks - CAUTION", "panel": "1", - "InvokeScript": [ - " - Remove-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}\" - Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name LaunchTo -Value 1 - " - ], - "UndoScript": [ - " - New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}\" - Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name LaunchTo -Value 0 - " + "registry": [ + { + "Path": "HKCU:\\Software\\Classes\\CLSID\\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}", + "Name": "System.IsPinnedToNameSpaceTree", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "LaunchTo", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + } ], "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removehome" }, - "WPFTweaksRemoveGallery": { - "Content": "File Explorer Gallery - Disable", - "Description": "Removes the Gallery from Explorer and sets This PC as default.", - "category": "z__Advanced Tweaks - CAUTION", - "panel": "1", - "InvokeScript": [ - " - Remove-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}\" - " - ], - "UndoScript": [ - " - New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}\" - " - ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removegallery" - }, "WPFTweaksDisplay": { "Content": "Visual Effects - Set to Best Performance", "Description": "Sets the system preferences to performance. You can do this manually with sysdm.cpl as well.",