|
@@ -160,10 +160,10 @@ function GigaHorse_farmer_ {
|
|
echo -e "$(tput setaf 10)\nInstall GigaHorse Farmer$(tput sgr0)"
|
|
echo -e "$(tput setaf 10)\nInstall GigaHorse Farmer$(tput sgr0)"
|
|
if ! [ -d /home/wareck/blockchain ];then mkdir /home/wareck/blockchain;fi
|
|
if ! [ -d /home/wareck/blockchain ];then mkdir /home/wareck/blockchain;fi
|
|
cd /home/wareck/blockchain/
|
|
cd /home/wareck/blockchain/
|
|
-GigaHorse_link=https://github.com/madMAx43v3r/chia-gigahorse/releases/download/v2.1.1.giga25/chia-gigahorse-farmer-2.1.1.giga25-x86_64.tar.gz
|
|
|
|
-wget -c -q --show-progress $GigaHorse_link -O chia-gigahorse-farmer.tar.gz
|
|
|
|
-tar xfz chia-gigahorse-farmer.tar.gz --checkpoint=.1000
|
|
|
|
-rm chia-gigahorse-farmer.tar.gz
|
|
|
|
|
|
+NAME=$(curl -s https://api.github.com/repos/madMAx43v3r/chia-gigahorse/releases/latest | grep ".*x86_64.tar.gz" | grep "name" | awk {'print$2'} | cut -d : -f 2,3 | tr -d \",)
|
|
|
|
+curl -s https://api.github.com/repos/madMAx43v3r/chia-gigahorse/releases/latest | grep "browser_download_url.*x86_64.tar.gz" | cut -d : -f 2,3 | tr -d \" | wget -q --show-progress -i -
|
|
|
|
+tar xfz $NAME --checkpoint=.1000
|
|
|
|
+rm $NAME
|
|
echo -e "\n\e[97mDone.\e[0m"
|
|
echo -e "\n\e[97mDone.\e[0m"
|
|
}
|
|
}
|
|
|
|
|
|
@@ -288,6 +288,7 @@ ProofOfSpace farm -t 8 -d 100 -f /Partage/Plots/*.plot
|
|
EOF
|
|
EOF
|
|
chmod +x ~/foxypool.sh
|
|
chmod +x ~/foxypool.sh
|
|
cp ~/foxypool.sh ~/chia/chia-gigahorse/cuda-plotter/linux/x86_64/foxypool.sh
|
|
cp ~/foxypool.sh ~/chia/chia-gigahorse/cuda-plotter/linux/x86_64/foxypool.sh
|
|
|
|
+rm ~/foxypool.sh
|
|
echo -e "\e[97mDone.\e[0m"
|
|
echo -e "\e[97mDone.\e[0m"
|
|
}
|
|
}
|
|
|
|
|