diff --git a/Messages/logo.txt b/Messages/logo.txt new file mode 100644 index 0000000..b4fcb4d --- /dev/null +++ b/Messages/logo.txt @@ -0,0 +1,7 @@ + + .|'''.| '|| || '|| + ||.. ' || .. ... ... ... .. ... || .. .... .. ... + ''|||. ||' || || || ||' '' || || .' .|...|| || || + . '|| || || || || || || ||'|. || || || + |'....|' .||. ||. '|..'|. .||. .||. .||. ||. '|...' .||. ||. \033[31mpi\033[0m (v 1.0) + \ No newline at end of file diff --git a/Scripts/create_configuration.sh b/Scripts/create_configuration.sh index 91ecdec..ade8c69 100755 --- a/Scripts/create_configuration.sh +++ b/Scripts/create_configuration.sh @@ -2,5 +2,7 @@ source ./global.sh source ./utils.sh - -p "create new config" +msg logo.txt +p "create a new configuration" +r "Your bitcoin address:" address +python3 ../Tools/address_validation.py $address \ No newline at end of file diff --git a/Scripts/utils.sh b/Scripts/utils.sh index beb35f7..d48cf72 100644 --- a/Scripts/utils.sh +++ b/Scripts/utils.sh @@ -1,5 +1,10 @@ #!/bin/bash +r(){ + p $1 + read -p " › " $2 +} + p() { echo -e " » $1" } @@ -30,7 +35,7 @@ gum(){ msg() { echo "" - echo -e "$(cat ../messages/$1)" + echo -e "$(cat ../Messages/$1)" echo "" }