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