script
This commit is contained in:
		
							parent
							
								
									def89822f6
								
							
						
					
					
						commit
						4f879fa1f5
					
				
							
								
								
									
										20
									
								
								deploy.sh
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								deploy.sh
									
									
									
									
									
								
							@ -153,7 +153,7 @@ progress_bar() {
 | 
			
		||||
    local filled=$((current * width / total))
 | 
			
		||||
    local empty=$((width - filled))
 | 
			
		||||
    
 | 
			
		||||
    printf "\r${BOLD}${label}${RESET} ["
 | 
			
		||||
    printf "\r${BOLD}%s${RESET} [" "$label"
 | 
			
		||||
    
 | 
			
		||||
    # Filled portion with gradient
 | 
			
		||||
    for ((i=0; i<filled; i++)); do
 | 
			
		||||
@ -177,7 +177,7 @@ progress_bar() {
 | 
			
		||||
        printf "${DIM}░${RESET}"
 | 
			
		||||
    done
 | 
			
		||||
    
 | 
			
		||||
    printf "] ${BOLD}${percentage}%%${RESET}"
 | 
			
		||||
    printf "] ${BOLD}%d%%${RESET}" "$percentage"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
spinner() {
 | 
			
		||||
@ -324,8 +324,8 @@ section_header() {
 | 
			
		||||
    local icon="$3"
 | 
			
		||||
    
 | 
			
		||||
    echo
 | 
			
		||||
    printf "${BOLD}${BG_BLUE}${WHITE} PHASE $section_num ${RESET} "
 | 
			
		||||
    printf "${BOLD}${BLUE}$icon $title${RESET}\n"
 | 
			
		||||
    printf "${BOLD}${BG_BLUE}${WHITE} PHASE %s ${RESET} " "$section_num"
 | 
			
		||||
    printf "${BOLD}${BLUE}%s %s${RESET}\n" "$icon" "$title"
 | 
			
		||||
    
 | 
			
		||||
    # Animated underline
 | 
			
		||||
    printf "${BLUE}"
 | 
			
		||||
@ -337,23 +337,23 @@ section_header() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
status_ok() {
 | 
			
		||||
    printf "${GREEN}${BOLD}✓${RESET} ${1}\n"
 | 
			
		||||
    printf "${GREEN}${BOLD}✓${RESET} %s\n" "$1"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
status_error() {
 | 
			
		||||
    printf "${RED}${BOLD}✗${RESET} ${1}\n"
 | 
			
		||||
    printf "${RED}${BOLD}✗${RESET} %s\n" "$1"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
status_warning() {
 | 
			
		||||
    printf "${YELLOW}${BOLD}⚠${RESET}  ${1}\n"
 | 
			
		||||
    printf "${YELLOW}${BOLD}⚠${RESET}  %s\n" "$1"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
status_info() {
 | 
			
		||||
    printf "${CYAN}${BOLD}ℹ${RESET}  ${1}\n"
 | 
			
		||||
    printf "${CYAN}${BOLD}ℹ${RESET}  %s\n" "$1"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
status_working() {
 | 
			
		||||
    printf "${MAGENTA}${BOLD}◐${RESET} ${1}"
 | 
			
		||||
    printf "${MAGENTA}${BOLD}◐${RESET} %s" "$1"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
animated_countdown() {
 | 
			
		||||
@ -403,7 +403,7 @@ ORIGINAL_HOME=$(eval echo "~$ORIGINAL_USER")
 | 
			
		||||
tput civis  # Hide cursor
 | 
			
		||||
 | 
			
		||||
# ASCII Art Banner
 | 
			
		||||
fancy_header "FORENSIC PATHWAYS DEPLOYMENT"
 | 
			
		||||
fancy_header "FORENSIC PATHWAYS DEPLOYMENT" "Advanced Visual Enhancement System"
 | 
			
		||||
 | 
			
		||||
# Matrix effect intro
 | 
			
		||||
printf "${DIM}${GREEN}Initializing deployment matrix...${RESET}\n"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user