File tree Expand file tree Collapse file tree 1 file changed +7
-24
lines changed
Expand file tree Collapse file tree 1 file changed +7
-24
lines changed Original file line number Diff line number Diff line change 24502450 "category" : " Essential Tweaks" ,
24512451 "panel" : " 1" ,
24522452 "Order" : " a006_" ,
2453- "InvokeScript" : [
2454- "$path = \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings\"
2455- $name = \"TaskbarEndTask\"
2456- $value = 1
2457-
2458- # Ensure the registry key exists
2459- if (-not (Test-Path $path)) {
2460- New-Item -Path $path -Force | Out-Null
2461- }
2462-
2463- # Set the property, creating it if it doesn't exist
2464- New-ItemProperty -Path $path -Name $name -PropertyType DWord -Value $value -Force | Out-Null"
2465- ],
2466- "UndoScript" : [
2467- "$path = \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings\"
2468- $name = \"TaskbarEndTask\"
2469- $value = 0
2470-
2471- # Ensure the registry key exists
2472- if (-not (Test-Path $path)) {
2473- New-Item -Path $path -Force | Out-Null
2453+ "registry" : [
2454+ {
2455+ "Path" : " HKCU:\\ Software\\ Microsoft\\ Windows\\ CurrentVersion\\ Explorer\\ Advanced\\ TaskbarDeveloperSettings" ,
2456+ "Name" : " TaskbarEndTask" ,
2457+ "Type" : " DWord" ,
2458+ "Value" : " 1" ,
2459+ "OriginalValue" : " <RemoveEntry>"
24742460 }
2475-
2476- # Set the property, creating it if it doesn't exist
2477- New-ItemProperty -Path $path -Name $name -PropertyType DWord -Value $value -Force | Out-Null"
24782461 ],
24792462 "link" : " https://winutil.christitus.com/dev/tweaks/essential-tweaks/endtaskontaskbar"
24802463 },
You can’t perform that action at this time.
0 commit comments