Add in banner at start for advertising

This commit is contained in:
VetheonGames 2024-05-24 09:17:09 -06:00
parent 65c25a8345
commit 93229ad5b1

View File

@ -2,6 +2,17 @@
LOG_FILE="$(dirname "$0")/setup.log" LOG_FILE="$(dirname "$0")/setup.log"
# ASCII Art Banner
cat << "EOF"
_____ _ _ __ __ _
|_ _| (_) | | \/ | | |
| | _ __ _| |_| \ / | __ _| |_ ___
| | | '_ \| | __| |\/| |/ _` | __/ _ \
_| |_| | | | | |_| | | | (_| | || __/
|_____|_| |_|_|\__|_| |_|\__,_|\__\___|
By PixelRidge Softworks
EOF
# Log function # Log function
log() { log() {
echo "$1" | tee -a "$LOG_FILE" echo "$1" | tee -a "$LOG_FILE"
@ -27,13 +38,13 @@ check_for_updates() {
if [ "$LOCAL" != "$REMOTE" ]; then if [ "$LOCAL" != "$REMOTE" ]; then
log "Updates available. Pulling the latest changes..." log "Updates available. Pulling the latest changes..."
git pull git pull
log "InitMate updated. Please rerun." log "Script updated. Please rerun the script."
exit 0 exit 0
else else
log "No updates available." log "No updates available."
fi fi
else else
log "This is not a Git repository. Skipping update check." log "This script is not a Git repository. Skipping update check."
fi fi
} }