Code Cleaned up :) Better and Easier to Debug and Trace

This commit is contained in:
JaKooLit
2023-12-30 14:35:01 +09:00
parent 4fcc7577de
commit dd9626d900
18 changed files with 332 additions and 601 deletions

6
install.sh Normal file → Executable file
View File

@@ -32,6 +32,10 @@ if [ "$proceed" != "y" ]; then
fi
# Create Directory for Install Logs
if [ ! -d Install-Logs ]; then
mkdir Install-Logs
fi
# Set some colors for output messages
OK="$(tput setaf 2)[OK]$(tput sgr0)"
@@ -43,6 +47,7 @@ ORANGE=$(tput setaf 166)
YELLOW=$(tput setaf 3)
RESET=$(tput sgr0)
# Function to colorize prompts
colorize_prompt() {
local color="$1"
@@ -195,7 +200,6 @@ if [ "$dots" == "Y" ]; then
fi
clear
printf "\n${OK} Yey! Installation Completed.\n"
printf "\n"