mirror of
https://github.com/ValdikSS/windows2usb.git
synced 2023-08-10 21:13:16 +03:00
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 :) 👍
This commit is contained in:
parent
9f855faabd
commit
5aab680e8f
17
windows2usb
17
windows2usb
@ -6,8 +6,21 @@ shopt -s nocasematch # for "if labeltype"
|
|||||||
|
|
||||||
export LANG=C.utf8
|
export LANG=C.utf8
|
||||||
|
|
||||||
|
Header='
|
||||||
|
| __ _____ _ _ ____ _ _ ____ ____ |
|
||||||
|
| \ \ / /_ _| \ | | |___ \ | | | / ___|| __ ) |
|
||||||
|
| \ \ /\ / / | || \| | __) | | | | \___ \| _ \ |
|
||||||
|
| \ V V / | || |\ | / __/ | |_| |___) | |_) | |
|
||||||
|
| \_/\_/ |___|_| \_(_) |_____| \___/|____/|____/ |
|
||||||
|
========================================================
|
||||||
|
. Windows 7+ ISO to Flash Drive burning utility .'
|
||||||
|
|
||||||
bold="$(tput bold)"
|
bold="$(tput bold)"
|
||||||
normal="$(tput sgr0)"
|
normal="$(tput sgr0)"
|
||||||
|
blink="$(tput blink)"
|
||||||
|
red="$(tput setaf 1)"
|
||||||
|
smso="$(tput smso)"
|
||||||
|
rmso="$(tput rmso)"
|
||||||
scriptpath="$(readlink -f -- "$0")"
|
scriptpath="$(readlink -f -- "$0")"
|
||||||
dirpath="$(dirname "$scriptpath")"
|
dirpath="$(dirname "$scriptpath")"
|
||||||
|
|
||||||
@ -181,8 +194,8 @@ function sigint_handler() {
|
|||||||
|
|
||||||
if [[ ! "$2" ]];
|
if [[ ! "$2" ]];
|
||||||
then
|
then
|
||||||
echo "${bold}Windows 7/8/8.1/10/11 ISO to Flash Drive burning utility"
|
echo "${bold}${smso}$Header${rmso}"
|
||||||
echo "WARNING: this program will delete all existing data on your drive!${normal}"
|
echo "${blink}${red}WARNING: this program will delete all existing data on your drive!${normal}"
|
||||||
echo
|
echo
|
||||||
echo "$(basename "$0")" "<device> <windows iso> [mbr/gpt/gptntfs/gpt+uefintfs]"
|
echo "$(basename "$0")" "<device> <windows iso> [mbr/gpt/gptntfs/gpt+uefintfs]"
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user