From 6e4a196c442a0f1bdd71d3ee5b6e512f6650ff9d Mon Sep 17 00:00:00 2001 From: Jane Doe Date: Thu, 20 Nov 2025 21:22:17 +0200 Subject: [PATCH] Change: A few visual changes have been made to the TUI --- Amelia.sh | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/Amelia.sh b/Amelia.sh index 7ddbdf3..fbc9ec1 100644 --- a/Amelia.sh +++ b/Amelia.sh @@ -2,7 +2,7 @@ # Amelia Installer # Source: https://gitlab.com/prism7/archery -# Version: 1.0.8 +# Version: 1.0.9 set -euo pipefail ################################################################################################### @@ -140,11 +140,12 @@ line3() { } unmount() { sleep 0.2 - line3 - REDBG " ${yellow}----------------------------------- " - REDBG " ${yellow}[!] Unmount and Retry [!] " - REDBG " ${yellow}----------------------------------- " - echo + line2 + CYAN " + --------------------------- + ### ${yellowl}Unmount and Retry ${nc}${cyan}### + --------------------------- + " reload sleep 0.2 NC " @@ -156,16 +157,16 @@ ${magenta}###${nc}-----------------------------------${magenta}[ ${bwhite}Unmoun sleep 0.2 NC " - ------------------ - ### ${green}Unmount OK ${nc}### - ------------------" + -------------------- + ### ${green}Unmount OK ${nc}### + --------------------" else sleep 0.2 RED " - ----------------------------- - ### ${nc}Unmounting Failed.. ${red}### - -----------------------------" + --------------------------- + ### ${nc}Unmounting Failed ${red}### + ---------------------------" failure fi } @@ -377,14 +378,14 @@ mode_check() { if [[ "${run_as}" == "root" ]]; then sleep 0.2 - NC " + YELLOWL " - ${cyan}* ${nc}Running in ${red}ROOT ${nc}mode ${cyan}* " + > ${nc}Running in ${red}ROOT ${nc}mode ${yellowl}< " else sleep 0.2 - NC " + YELLOWL " - ${cyan}* ${nc}Running in ${blue}DEMO ${nc}mode ${cyan}* " + > ${nc}Running in ${blue}DEMO ${nc}mode ${yellowl}< " fi } ################################################################################################### @@ -3996,6 +3997,7 @@ sanity_check() { NC " ${magenta}###${nc}--------------------------------------${magenta}[ ${bwhite}Sanity Check${nc} ${magenta}]${nc}--------------------------------------${magenta}### + " rootcount="$(fdisk -l "${instl_drive}" | grep -E -c 'root' | awk "{print \$1}")" root_dev="$(fdisk -l "${instl_drive}" | grep -E 'root' | awk "{print \$1}")"