mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-12-17 17:55:28 +00:00
Update-WPFTweaksEndTaskOnTaskbar (#3714)
* Update tweaks.json * Syntax fix on WPFTweaksEndTaskOnTaskbar * Merge branch 'ChrisTitusTech:main' into Update-WPFTweaksEndTaskOnTaskbar
This commit is contained in:
parent
067ec31086
commit
bfbb643543
@ -2450,31 +2450,14 @@
|
|||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a006_",
|
"Order": "a006_",
|
||||||
"InvokeScript": [
|
"registry": [
|
||||||
"$path = \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings\"
|
{
|
||||||
$name = \"TaskbarEndTask\"
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings",
|
||||||
$value = 1
|
"Name": "TaskbarEndTask",
|
||||||
|
"Type": "DWord",
|
||||||
# Ensure the registry key exists
|
"Value": "1",
|
||||||
if (-not (Test-Path $path)) {
|
"OriginalValue": "<RemoveEntry>"
|
||||||
New-Item -Path $path -Force | Out-Null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set the property, creating it if it doesn't exist
|
|
||||||
New-ItemProperty -Path $path -Name $name -PropertyType DWord -Value $value -Force | Out-Null"
|
|
||||||
],
|
|
||||||
"UndoScript": [
|
|
||||||
"$path = \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings\"
|
|
||||||
$name = \"TaskbarEndTask\"
|
|
||||||
$value = 0
|
|
||||||
|
|
||||||
# Ensure the registry key exists
|
|
||||||
if (-not (Test-Path $path)) {
|
|
||||||
New-Item -Path $path -Force | Out-Null
|
|
||||||
}
|
|
||||||
|
|
||||||
# Set the property, creating it if it doesn't exist
|
|
||||||
New-ItemProperty -Path $path -Name $name -PropertyType DWord -Value $value -Force | Out-Null"
|
|
||||||
],
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/endtaskontaskbar"
|
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/endtaskontaskbar"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user