mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-04-03 14:06:27 +00:00
Refactor feature handling, update format in Features.json
This commit is contained in:
@@ -9,7 +9,7 @@ function GetUndoFeatureForParam {
|
||||
}
|
||||
|
||||
$feature = $script:Features[$paramKey]
|
||||
if (-not ($feature.RegistryUndoKey -and $feature.UndoAction)) {
|
||||
if (-not ($feature.RegistryUndoKey -and ($feature.UndoText -or $feature.UndoAction))) {
|
||||
return $null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user