mirror of
https://github.com/Sycnex/Windows10Debloater.git
synced 2025-03-12 18:05:29 +00:00
regression: do not write non-removables to white/black lists
commit 890c318872
Author: tlejolivet on Tue Aug 18 16:53:11 2020 +0200
New simple designed UI for a better look !
This commit is contained in:
parent
a48b4d8dc5
commit
99aa537fba
@ -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…
Reference in New Issue
Block a user