Winfetch config hinzugefuegt

This commit is contained in:
2022-12-04 14:53:01 +01:00
parent aa3271c3be
commit 37bc02c86f
3 changed files with 101 additions and 1 deletions

View File

@@ -104,7 +104,15 @@ do {
if ($decision -eq 0) {
Install-Module -Name PSWindowsUpdate -Force
}
}
}
$decision = $Host.UI.PromptForChoice('Winfetch', 'Soll Winfetch eingerichtet werden?' , $choices, 1)
if ($decision -eq 0) {
Install-Script winfetch
mkdir ~/.config/winfetch
Copy-Item ~/.winconfig/config.ps1 ~/.config/winfetch
Read-Host "Bitte das Terminal / Powershell neu starten damit Winfetch funktioniert."
}
} '5' {
Write-Host "Beginne mit dem Update aller Pakete..."
winget upgrade --all --accept-package-agreements --accept-source-agreements