Skip to content

Commit

Permalink
Merge pull request Romanitho#38 from Romanitho/Remove-app-from-WAU-wh…
Browse files Browse the repository at this point in the history
…ite-list-fix

Remove app from WAU white list fix
  • Loading branch information
Romanitho authored May 12, 2022
2 parents b9bb7e1 + d2a5014 commit 4fd85f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winget-install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ function Remove-WAUWhiteList ($AppID){
if (Test-Path $WhiteList){
Write-Log "Remove $AppID from WAU included_apps.txt"
#Remove app from list
$file = Get-Content $WhiteList | Where-Object {$_ -notmatch "$AppID"}
$file = Get-Content $WhiteList | Where-Object {$_ -ne "$AppID"}
$file | Out-File $WhiteList
}
}
Expand Down

0 comments on commit 4fd85f9

Please sign in to comment.