Change: A few visual changes have been made to the TUI

This commit is contained in:
Jane Doe
2025-11-20 21:22:17 +02:00
parent 2c31eeb280
commit 6e4a196c44
+17 -15
View File
@@ -2,7 +2,7 @@
# Amelia Installer # Amelia Installer
# Source: https://gitlab.com/prism7/archery # Source: https://gitlab.com/prism7/archery
# Version: 1.0.8 # Version: 1.0.9
set -euo pipefail set -euo pipefail
################################################################################################### ###################################################################################################
@@ -140,11 +140,12 @@ line3() {
} }
unmount() { unmount() {
sleep 0.2 sleep 0.2
line3 line2
REDBG " ${yellow}----------------------------------- " CYAN "
REDBG " ${yellow}[!] Unmount and Retry [!] " ---------------------------
REDBG " ${yellow}----------------------------------- " ### ${yellowl}Unmount and Retry ${nc}${cyan}###
echo ---------------------------
"
reload reload
sleep 0.2 sleep 0.2
NC " NC "
@@ -156,16 +157,16 @@ ${magenta}###${nc}-----------------------------------${magenta}[ ${bwhite}Unmoun
sleep 0.2 sleep 0.2
NC " NC "
------------------ --------------------
### ${green}Unmount OK ${nc}### ### ${green}Unmount OK ${nc}###
------------------" --------------------"
else else
sleep 0.2 sleep 0.2
RED " RED "
----------------------------- ---------------------------
### ${nc}Unmounting Failed.. ${red}### ### ${nc}Unmounting Failed ${red}###
-----------------------------" ---------------------------"
failure failure
fi fi
} }
@@ -377,14 +378,14 @@ mode_check() {
if [[ "${run_as}" == "root" ]]; then if [[ "${run_as}" == "root" ]]; then
sleep 0.2 sleep 0.2
NC " YELLOWL "
${cyan}* ${nc}Running in ${red}ROOT ${nc}mode ${cyan}* " > ${nc}Running in ${red}ROOT ${nc}mode ${yellowl}< "
else else
sleep 0.2 sleep 0.2
NC " YELLOWL "
${cyan}* ${nc}Running in ${blue}DEMO ${nc}mode ${cyan}* " > ${nc}Running in ${blue}DEMO ${nc}mode ${yellowl}< "
fi fi
} }
################################################################################################### ###################################################################################################
@@ -3996,6 +3997,7 @@ sanity_check() {
NC " NC "
${magenta}###${nc}--------------------------------------${magenta}[ ${bwhite}Sanity Check${nc} ${magenta}]${nc}--------------------------------------${magenta}### ${magenta}###${nc}--------------------------------------${magenta}[ ${bwhite}Sanity Check${nc} ${magenta}]${nc}--------------------------------------${magenta}###
" "
rootcount="$(fdisk -l "${instl_drive}" | grep -E -c 'root' | awk "{print \$1}")" rootcount="$(fdisk -l "${instl_drive}" | grep -E -c 'root' | awk "{print \$1}")"
root_dev="$(fdisk -l "${instl_drive}" | grep -E 'root' | awk "{print \$1}")" root_dev="$(fdisk -l "${instl_drive}" | grep -E 'root' | awk "{print \$1}")"