mirror of
https://github.com/aljazceru/shurikenpi.io.git
synced 2025-12-17 06:04:23 +01:00
create configuration
This commit is contained in:
7
Messages/logo.txt
Normal file
7
Messages/logo.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
.|'''.| '|| || '||
|
||||||
|
||.. ' || .. ... ... ... .. ... || .. .... .. ...
|
||||||
|
''|||. ||' || || || ||' '' || || .' .|...|| || ||
|
||||||
|
. '|| || || || || || || ||'|. || || ||
|
||||||
|
|'....|' .||. ||. '|..'|. .||. .||. .||. ||. '|...' .||. ||. \033[31mpi\033[0m (v 1.0)
|
||||||
|
|
||||||
@@ -2,5 +2,7 @@
|
|||||||
|
|
||||||
source ./global.sh
|
source ./global.sh
|
||||||
source ./utils.sh
|
source ./utils.sh
|
||||||
|
msg logo.txt
|
||||||
p "create new config"
|
p "create a new configuration"
|
||||||
|
r "Your bitcoin address:" address
|
||||||
|
python3 ../Tools/address_validation.py $address
|
||||||
@@ -1,5 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
r(){
|
||||||
|
p $1
|
||||||
|
read -p " › " $2
|
||||||
|
}
|
||||||
|
|
||||||
p() {
|
p() {
|
||||||
echo -e " » $1"
|
echo -e " » $1"
|
||||||
}
|
}
|
||||||
@@ -30,7 +35,7 @@ gum(){
|
|||||||
|
|
||||||
msg() {
|
msg() {
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "$(cat ../messages/$1)"
|
echo -e "$(cat ../Messages/$1)"
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user