refactor: enhance upgrade script with backup, color UI, service checks, and error handling

This commit is contained in:
Whispering Wind
2025-05-16 00:42:02 +03:30
committed by GitHub
parent cfd29c458d
commit 37aafa8c61
3 changed files with 114 additions and 108 deletions

View File

@ -123,7 +123,7 @@ clone_repository() {
fi
fi
if git clone -b beta https://github.com/ReturnFI/Blitz /etc/hysteria &> /dev/null; then
if git clone https://github.com/ReturnFI/Blitz /etc/hysteria &> /dev/null; then
log_success "Repository cloned successfully"
else
log_error "Failed to clone repository"