From 9dee51ebb69a4ffbb7bd7ef9515b1c7c8d100fb8 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 27 Sep 2023 09:03:32 +0100 Subject: [PATCH] refactor: improve header and server directory installation messages - Updated ASCII logo formatting for better visibility. - Added emphasis to the LinuxGSM name in the header message. - Changed the contributor and sponsor links to be more descriptive. - Modified the server directory installation message to indicate if a game server already exists at the specified location. --- lgsm/modules/install_header.sh | 8 ++++---- lgsm/modules/install_server_dir.sh | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lgsm/modules/install_header.sh b/lgsm/modules/install_header.sh index b52e116e7..1a08fdd2c 100644 --- a/lgsm/modules/install_header.sh +++ b/lgsm/modules/install_header.sh @@ -10,13 +10,13 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" clear fn_print_ascii_logo fn_sleep_time -echo -e "=================================" -echo -e "${lightyellow}Linux${default}GSM_" -echo -e "by Daniel Gibbs" +echo -e "${bold}=================================${default}" +echo -e "${bold}${lightyellow}Linux${default}${bold}GSM_${default}" +echo -e "${italic}by Daniel Gibbs${default}" echo -e "${lightblue}Version:${default} ${version}" echo -e "${lightblue}Game:${default} ${gamename}" echo -e "${lightblue}Website:${default} https://linuxgsm.com" echo -e "${lightblue}Contributors:${default} https://linuxgsm.com/contrib" echo -e "${lightblue}Sponsor:${default} https://linuxgsm.com/sponsor" -echo -e "=================================" +echo -e "${bold}=================================${default}" fn_sleep_time diff --git a/lgsm/modules/install_server_dir.sh b/lgsm/modules/install_server_dir.sh index 33c3905df..a175ec51f 100644 --- a/lgsm/modules/install_server_dir.sh +++ b/lgsm/modules/install_server_dir.sh @@ -9,13 +9,13 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" echo -e "" echo -e "${lightyellow}Server Directory${default}" -echo -e "=================================" +echo -e "${bold}=================================${default}" fn_sleep_time echo -en "creating ( ${serverfiles} )" if [ -d "${serverfiles}" ]; then fn_print_skip_eol_nl - echo -e "\n* A game server is already exists at this location." + echo -e "${italic}A game server is already exists at this location.${default}" else fn_print_ok_eol_nl fi