"Refactor installer scripts using Conventional Commits format (feat)"
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user