Remove Write-Debug (#4498)

* Update Invoke-WinUtilCurrentSystem.ps1

* Update Invoke-WinUtilFontScaling.ps1

* Update Invoke-WinUtilTweaks.ps1

* Update Reset-WPFCheckBoxes.ps1

* Update Set-Preferences.ps1

* Update Update-WinUtilSelections.ps1

* Update Invoke-WPFSelectedCheckboxesUpdate.ps1

* Update Invoke-WPFtweaksbutton.ps1

* Update main.ps1

* Update main.ps1

* Update main.ps1

* Update main.ps1

* Update main.ps1

* Merge branch 'main' into Remove-Write-Debug
This commit is contained in:
Gabi
2026-05-19 21:16:06 +03:00
committed by GitHub
parent a09736f9a8
commit 8034e85521
9 changed files with 7 additions and 98 deletions
@@ -29,8 +29,6 @@ function Invoke-WPFtweaksbutton {
return
}
Write-Debug "Number of tweaks to process: $($Tweaks.Count)"
if ($restorePointSelected) {
$sync.ProcessRunning = $true
@@ -58,7 +56,6 @@ function Invoke-WPFtweaksbutton {
# The leading "," in the ParameterList is necessary because we only provide one argument and powershell cannot be convinced that we want a nested loop with only one argument otherwise
$handle = Invoke-WPFRunspace -ParameterList @(("tweaks", $tweaksToRun), ("dnsProvider", $dnsProvider), ("completedSteps", $completedSteps), ("totalSteps", $totalSteps)) -ScriptBlock {
param($tweaks, $dnsProvider, $completedSteps, $totalSteps)
Write-Debug "Inside Number of tweaks to process: $($Tweaks.Count)"
$sync.ProcessRunning = $true