mirror of
https://github.com/aljazceru/shurikenpi.io.git
synced 2025-12-18 06:34:19 +01:00
create configuration
This commit is contained in:
@@ -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
|
||||
@@ -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 ""
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user