mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-08-22 07:36:25 +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 ',')
|
||||
|
||||
$scopeTarget = Get-AppRemovalScopeTarget -AppRemovalScopeCombo $appRemovalScopeCombo -OtherUsernameTextBox $otherUsernameTextBox
|
||||
if ($scopeTarget) {
|
||||
if (-not [string]::IsNullOrWhiteSpace($scopeTarget)) {
|
||||
Add-Parameter 'AppRemovalTarget' $scopeTarget
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user