Bläddra i källkod

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.
Daniel Gibbs 2 år sedan
förälder
incheckning
9dee51ebb6
2 ändrade filer med 6 tillägg och 6 borttagningar
  1. 4 4
      lgsm/modules/install_header.sh
  2. 2 2
      lgsm/modules/install_server_dir.sh

+ 4 - 4
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

+ 2 - 2
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