From bb0cc81ec72e0b4c04f0bfefa695b9cda4db8230 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Thu, 7 Nov 2024 19:51:24 +0100 Subject: [PATCH] add explorer restart where needed to take effect add explorer restart logic for hidden files + Fileextension toggles --- config/tweaks.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/config/tweaks.json b/config/tweaks.json index 10e32103..25d1dfa2 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -3522,6 +3522,16 @@ "Type": "DWord" } ], + "InvokeScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], + "UndoScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], "link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/HiddenFiles" }, "WPFToggleShowExt": { @@ -3540,6 +3550,16 @@ "Type": "DWord" } ], + "InvokeScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], + "UndoScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], "link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/ShowExt" }, "WPFToggleTaskbarSearch": {