add explorer restart where needed to take effect

add explorer restart logic for hidden files + Fileextension toggles
This commit is contained in:
MyDrift 2024-11-07 19:51:24 +01:00
parent ff91167af4
commit bb0cc81ec7

View File

@ -3522,6 +3522,16 @@
"Type": "DWord" "Type": "DWord"
} }
], ],
"InvokeScript": [
"
Invoke-WinUtilExplorerUpdate -action \"restart\"
"
],
"UndoScript": [
"
Invoke-WinUtilExplorerUpdate -action \"restart\"
"
],
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/HiddenFiles" "link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/HiddenFiles"
}, },
"WPFToggleShowExt": { "WPFToggleShowExt": {
@ -3540,6 +3550,16 @@
"Type": "DWord" "Type": "DWord"
} }
], ],
"InvokeScript": [
"
Invoke-WinUtilExplorerUpdate -action \"restart\"
"
],
"UndoScript": [
"
Invoke-WinUtilExplorerUpdate -action \"restart\"
"
],
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/ShowExt" "link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/ShowExt"
}, },
"WPFToggleTaskbarSearch": { "WPFToggleTaskbarSearch": {