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
+18 -16
View File
@@ -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}")"