diff --git a/install.ps1 b/install.ps1 index 308823f..8a1de14 100644 --- a/install.ps1 +++ b/install.ps1 @@ -34,15 +34,6 @@ catch { $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({ # 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