"Refactor installer scripts using Conventional Commits format (feat)"

This commit is contained in:
2025-05-26 11:16:04 +02:00
parent eac7a63695
commit 32dfeb9e27
2 changed files with 705 additions and 4 deletions

View File

@@ -564,7 +564,8 @@ function Clean-OldScripts {
Remove-Item -Path $script -Force
Write-Host "$script wurde gelöscht." -ForegroundColor $colors.Success
} catch {
Write-Host "✗ Fehler beim Löschen von $script: $_" -ForegroundColor $colors.Error
$errorMessage = $_.Exception.Message
Write-Host "✗ Fehler beim Löschen von $script`: $errorMessage" -ForegroundColor $colors.Error
}
}
}
@@ -592,9 +593,9 @@ function Show-MainMenu {
Write-Host "6. Alte Skripte bereinigen" -ForegroundColor $colors.Command
Write-Host "Q. Beenden" -ForegroundColor $colors.Command
Write-Host ""
Write-Host "Wählen Sie eine Option (1-6, Q): " -ForegroundColor $colors.Info -NoNewline
Write-Host "Wählen Sie eine Option (1-6, Q):" -ForegroundColor $colors.Info -NoNewline
$choice = Read-Host
$choice = Read-Host " "
switch ($choice) {
"1" {