From 5aab680e8ffeb9a34986219561eb9d8939c04d93 Mon Sep 17 00:00:00 2001 From: hashemim66110 <39070074+hashemim66110@users.noreply.github.com> Date: Fri, 24 Jun 2022 17:32:19 +0430 Subject: [PATCH] Little Appearance Changes variable Header added to script . Simple Text Logo Made using figlet tool . text "WARNING: this program will delete all existing data on your drive!" is changed so it makes more Attention now (color changed to Red and get Blinking now) thanks for develop it ValdikSS :) :+1: --- windows2usb | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/windows2usb b/windows2usb index 459ceeb..7dee594 100755 --- a/windows2usb +++ b/windows2usb @@ -6,8 +6,21 @@ shopt -s nocasematch # for "if labeltype" export LANG=C.utf8 +Header=' +| __ _____ _ _ ____ _ _ ____ ____ | +| \ \ / /_ _| \ | | |___ \ | | | / ___|| __ ) | +| \ \ /\ / / | || \| | __) | | | | \___ \| _ \ | +| \ V V / | || |\ | / __/ | |_| |___) | |_) | | +| \_/\_/ |___|_| \_(_) |_____| \___/|____/|____/ | +======================================================== +. Windows 7+ ISO to Flash Drive burning utility .' + bold="$(tput bold)" normal="$(tput sgr0)" +blink="$(tput blink)" +red="$(tput setaf 1)" +smso="$(tput smso)" +rmso="$(tput rmso)" scriptpath="$(readlink -f -- "$0")" dirpath="$(dirname "$scriptpath")" @@ -181,8 +194,8 @@ function sigint_handler() { if [[ ! "$2" ]]; then - echo "${bold}Windows 7/8/8.1/10/11 ISO to Flash Drive burning utility" - echo "WARNING: this program will delete all existing data on your drive!${normal}" + echo "${bold}${smso}$Header${rmso}" + echo "${blink}${red}WARNING: this program will delete all existing data on your drive!${normal}" echo echo "$(basename "$0")" " [mbr/gpt/gptntfs/gpt+uefintfs]" echo