Add in banner at start for advertising
This commit is contained in:
parent
65c25a8345
commit
93229ad5b1
15
InitMate.sh
15
InitMate.sh
|
@ -2,6 +2,17 @@
|
|||
|
||||
LOG_FILE="$(dirname "$0")/setup.log"
|
||||
|
||||
# ASCII Art Banner
|
||||
cat << "EOF"
|
||||
_____ _ _ __ __ _
|
||||
|_ _| (_) | | \/ | | |
|
||||
| | _ __ _| |_| \ / | __ _| |_ ___
|
||||
| | | '_ \| | __| |\/| |/ _` | __/ _ \
|
||||
_| |_| | | | | |_| | | | (_| | || __/
|
||||
|_____|_| |_|_|\__|_| |_|\__,_|\__\___|
|
||||
By PixelRidge Softworks
|
||||
EOF
|
||||
|
||||
# Log function
|
||||
log() {
|
||||
echo "$1" | tee -a "$LOG_FILE"
|
||||
|
@ -27,13 +38,13 @@ check_for_updates() {
|
|||
if [ "$LOCAL" != "$REMOTE" ]; then
|
||||
log "Updates available. Pulling the latest changes..."
|
||||
git pull
|
||||
log "InitMate updated. Please rerun."
|
||||
log "Script updated. Please rerun the script."
|
||||
exit 0
|
||||
else
|
||||
log "No updates available."
|
||||
fi
|
||||
else
|
||||
log "This is not a Git repository. Skipping update check."
|
||||
log "This script is not a Git repository. Skipping update check."
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user