pull/452/merge
jstnlth 3 years ago committed by GitHub
commit abb403b91e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -532,7 +532,7 @@ $CustomizeBlacklist.Add_Click( {
'$global:WhiteListedApps = @(' | Out-File -FilePath $PSScriptRoot\custom-lists.ps1 -Encoding utf8
@($ListPanel.controls) | ForEach {
if ($_ -is [System.Windows.Forms.CheckBox] -and $_.Enabled -and !$_.Checked) {
if ($_ -is [System.Windows.Forms.CheckBox] -and $_.AutoCheck -and !$_.Checked) {
" ""$( $_.Text )""" | Out-File -FilePath $PSScriptRoot\custom-lists.ps1 -Append -Encoding utf8
}
}
@ -540,7 +540,7 @@ $CustomizeBlacklist.Add_Click( {
'$global:Bloatware = @(' | Out-File -FilePath $PSScriptRoot\custom-lists.ps1 -Append -Encoding utf8
@($ListPanel.controls) | ForEach {
if ($_ -is [System.Windows.Forms.CheckBox] -and $_.Enabled -and $_.Checked) {
if ($_ -is [System.Windows.Forms.CheckBox] -and $_.AutoCheck -and $_.Checked) {
" ""$($_.Text)""" | Out-File -FilePath $PSScriptRoot\custom-lists.ps1 -Append -Encoding utf8
}
}

Loading…
Cancel
Save