mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-08-23 16:12:08 +00:00
fix: make intent of scopeTarget check more clear
This commit is contained in:
@@ -674,7 +674,7 @@ function Show-MainWindow {
|
|||||||
Add-Parameter 'Apps' ($selectedApps -join ',')
|
Add-Parameter 'Apps' ($selectedApps -join ',')
|
||||||
|
|
||||||
$scopeTarget = Get-AppRemovalScopeTarget -AppRemovalScopeCombo $appRemovalScopeCombo -OtherUsernameTextBox $otherUsernameTextBox
|
$scopeTarget = Get-AppRemovalScopeTarget -AppRemovalScopeCombo $appRemovalScopeCombo -OtherUsernameTextBox $otherUsernameTextBox
|
||||||
if ($scopeTarget) {
|
if (-not [string]::IsNullOrWhiteSpace($scopeTarget)) {
|
||||||
Add-Parameter 'AppRemovalTarget' $scopeTarget
|
Add-Parameter 'AppRemovalTarget' $scopeTarget
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user