mirror of
https://github.com/Sycnex/Windows10Debloater.git
synced 2024-11-24 03:45:29 +00:00
Refixed bug related to saving custom lists
Accidentally reintroduced bug with the bing search addition that affected saving the custom lists. It is now fixed.
This commit is contained in:
parent
0bd12e8c60
commit
ac2a4315b1
@ -531,7 +531,7 @@ $CustomizeBlacklist.Add_Click( {
|
||||
# $ErrorActionPreference = 'SilentlyContinue'
|
||||
|
||||
'$global:WhiteListedApps = @(' | Out-File -FilePath $PSScriptRoot\custom-lists.ps1 -Encoding utf8
|
||||
@($CustomizeForm.controls) | ForEach {
|
||||
@($ListPanel.controls) | ForEach {
|
||||
if ($_ -is [System.Windows.Forms.CheckBox] -and $_.Enabled -and !$_.Checked) {
|
||||
" ""$( $_.Text )""" | Out-File -FilePath $PSScriptRoot\custom-lists.ps1 -Append -Encoding utf8
|
||||
}
|
||||
@ -539,7 +539,7 @@ $CustomizeBlacklist.Add_Click( {
|
||||
')' | Out-File -FilePath $PSScriptRoot\custom-lists.ps1 -Append -Encoding utf8
|
||||
|
||||
'$global:Bloatware = @(' | Out-File -FilePath $PSScriptRoot\custom-lists.ps1 -Append -Encoding utf8
|
||||
@($CustomizeForm.controls) | ForEach {
|
||||
@($ListPanel.controls) | ForEach {
|
||||
if ($_ -is [System.Windows.Forms.CheckBox] -and $_.Enabled -and $_.Checked) {
|
||||
" ""$($_.Text)""" | Out-File -FilePath $PSScriptRoot\custom-lists.ps1 -Append -Encoding utf8
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user