From d832f60faae7c4d3d49b25098db7793c2e2363fa Mon Sep 17 00:00:00 2001 From: Jane Doe Date: Fri, 25 Oct 2024 18:38:13 +0000 Subject: [PATCH] Add: A pause waiting for user input has been added to the 'automatic partitioning' stage 'Warning Prompts' (before the installer manages disk partitions), to ensure that the user fully understands and chooses to continue with the process. --- Amelia.sh | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Amelia.sh b/Amelia.sh index 7b9a34f..63bebd3 100644 --- a/Amelia.sh +++ b/Amelia.sh @@ -2,7 +2,7 @@ # Amelia Installer # https://gitlab.com/prism7/archery -# Version: 8.0.4 +# Version: 8.0.5 set -euo pipefail ################################################################################################### @@ -2439,6 +2439,21 @@ man_preset() { ${magenta}###${nc}------------------------------------${magenta}[ ${bwhite}Preset Selection${nc} ${magenta}]${nc}------------------------------------${magenta}### " + sleep 0.2 + line2 + REDBG " ------------------------------------------------------------ " + REDBG " [!] WARNING: All data on selected disk will be destroyed [!] " + REDBG " ------------------------------------------------------------ " + line2 + NC " + + + + ${bwhite}Press any key to continue${nc} + + + " + read -r -s -n 1 YELLOW " > Select a Partition Layout Preset: " @@ -2489,6 +2504,15 @@ ${magenta}###${nc}---------------------------------${magenta}[ ${bwhite}Automati REDBG " [!] WARNING: All data on selected disk will be destroyed [!] " REDBG " ------------------------------------------------------------ " line2 + NC " + + + + ${bwhite}Press any key to continue${nc} + + + " + read -r -s -n 1 if [[ -e "${instl_drive}" && "${use_manpreset}" != "yes" ]]; then sleep 0.2 NC "