mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-06-28 09:04:47 -05:00
Toggle logic cleanup (#2527)
* enhance toggle logics - cleanup Invoke-WPFToggle.ps1 - add attributes member to tweaks - add "eprestart" for restart explorer to attributes. - removed restart explorer logics from existing toggles. - add restart explorer logics to Invoke-WPFToggle.ps1 depending on attribute content * undo attributes
This commit is contained in:
@ -14,7 +14,7 @@ function Invoke-WinUtilSnapFlyout {
|
||||
Write-Host "Disabling Snap Assist Flyout On startup"
|
||||
$value = 0
|
||||
}
|
||||
# taskkill.exe /F /IM "explorer.exe"
|
||||
|
||||
$Path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
|
||||
taskkill.exe /F /IM "explorer.exe"
|
||||
Set-ItemProperty -Path $Path -Name EnableSnapAssistFlyout -Value $value
|
||||
|
Reference in New Issue
Block a user