Unnötige Kommentare entfernt.

This commit is contained in:
2023-02-11 13:50:24 +01:00
parent 37cda0a9f6
commit 26911a8367

View File

@@ -34,15 +34,6 @@ catch {
$xaml.SelectNodes("//*[@Name]") | ForEach-Object { Set-Variable -Name "WPF$($_.Name)" -Value $Form.FindName($_.Name) } $xaml.SelectNodes("//*[@Name]") | ForEach-Object { Set-Variable -Name "WPF$($_.Name)" -Value $Form.FindName($_.Name) }
# Einbinden der debloat.ps1
#. .\debloat.ps1
# Konfig für die prompts
#$choices = New-Object Collections.ObjectModel.Collection[Management.Automation.Host.ChoiceDescription]
#$choices.Add((New-Object Management.Automation.Host.ChoiceDescription -ArgumentList '&Yes'))
#$choices.Add((New-Object Management.Automation.Host.ChoiceDescription -ArgumentList '&No'))
$WPFremove.Add_Click({ $WPFremove.Add_Click({
# Crap deinstallieren # Crap deinstallieren
Start-Process powershell.exe -Verb RunAs -ArgumentList "-command Start-Transcript ~/.winconfig/logs/winget-remove.log -Append | out-null; . ./config.ps1 ; RemoveSoftware | Out-Host" -WindowStyle Normal Start-Process powershell.exe -Verb RunAs -ArgumentList "-command Start-Transcript ~/.winconfig/logs/winget-remove.log -Append | out-null; . ./config.ps1 ; RemoveSoftware | Out-Host" -WindowStyle Normal