mirror of
https://github.com/aljazceru/shurikenpi.io.git
synced 2025-12-17 06:04:23 +01:00
update installer
This commit is contained in:
@@ -3,6 +3,16 @@
|
||||
source ./global.sh
|
||||
source ./utils.sh
|
||||
msg logo.txt
|
||||
p "create a new configuration"
|
||||
p "We will create a new configuration"
|
||||
r "Your bitcoin address:" address
|
||||
python3 ../Tools/address_validation.py $address
|
||||
#python3 ../Tools/address_validation.py $address
|
||||
|
||||
echo -e " \033[33m?\033[0m Which mining pool would you like to use?"
|
||||
mining_pool=$(gum choose --cursor= › public-pool.io solo.ckpool.org custom)
|
||||
p_user $mining_pool
|
||||
|
||||
if [[ $mining_pool == "custom" ]]; then
|
||||
r "Mining pool stratum URL:" $mining_pool
|
||||
fi
|
||||
|
||||
echo "->" $mining_pool
|
||||
@@ -1,11 +1,12 @@
|
||||
|
||||
install_prerequisites(){
|
||||
p "Installing pre-requisites..."
|
||||
spin_it "goland-go (1/5)" sudo apt-get install -y golang-go
|
||||
spin_it "gum (2/5)" go install github.com/charmbracelet/gum@latest
|
||||
spin_it "git (3/5)" sudo apt-get install -y git
|
||||
spin_it "tor (4/5)" sudo apt-get install -y tor
|
||||
spin_it "curl (5/5)" sudo apt-get install -y curl
|
||||
spin_it "goland-go (1/6)" sudo apt-get install -y golang-go
|
||||
spin_it "gum (2/6)" go install github.com/charmbracelet/gum@latest
|
||||
spin_it "git (3/6)" sudo apt-get install -y git
|
||||
spin_it "tor (4/6)" sudo apt-get install -y tor
|
||||
spin_it "curl (5/6)" sudo apt-get install -y curl
|
||||
spin_it "screen (6/6)" sudo apt-get install -y screen
|
||||
}
|
||||
|
||||
go_to_install_directory(){
|
||||
|
||||
Reference in New Issue
Block a user