Votre Nom il y a 1 an
Parent
commit
0bec583fee
2 fichiers modifiés avec 6 ajouts et 5 suppressions
  1. 1 1
      build_cube.sh
  2. 5 4
      options/chia.sh

+ 1 - 1
build_cube.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 set -e
-Version=18.2.1
+Version=18.2.2
 Cuda=YES
 kernel_custom=YES
 Webmin="webmin-2.105"

+ 5 - 4
options/chia.sh

@@ -160,10 +160,10 @@ function GigaHorse_farmer_ {
 echo -e "$(tput setaf 10)\nInstall GigaHorse Farmer$(tput sgr0)"
 if ! [ -d /home/wareck/blockchain ];then mkdir /home/wareck/blockchain;fi
 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"
 }
 
@@ -288,6 +288,7 @@ ProofOfSpace farm -t 8 -d 100 -f /Partage/Plots/*.plot
 EOF
 chmod +x ~/foxypool.sh
 cp ~/foxypool.sh ~/chia/chia-gigahorse/cuda-plotter/linux/x86_64/foxypool.sh
+rm ~/foxypool.sh
 echo -e "\e[97mDone.\e[0m"
 }