wareck 2 years ago
parent
commit
148279adba
2 changed files with 22 additions and 9 deletions
  1. 15 2
      build_cube.sh
  2. 7 7
      options/chia.sh

+ 15 - 2
build_cube.sh

@@ -59,6 +59,8 @@ sudo apt-get install pixz pbzip2 pigz btrfs-progs htop lxde lxde-icon-theme gpar
 echo -e ""
 sudo apt-get install ctorrent libcurl4-openssl-dev bison byacc screen libudev-dev libjansson-dev libncurses5-dev libmicrohttpd-dev curl -y
 echo -e ""
+sudo apt-get install libglib2.0-dev libgtk2.0-dev libsensors4-dev -y
+echo -e ""
 sudo apt-get install htop vlc locate -y
 if [ $ZFS = "YES" ]
 then
@@ -320,13 +322,25 @@ fi
 }
 
 function configure_ {
+echo -e "$(tput setaf 10)\nlxPanel sensors:$(tput sgr0)"
+cd /home/wareck
+if ! [ -d sensors-lxpanel-plugin ]
+then
+git clone https://github.com/danamlund/sensors-lxpanel-plugin.git
+fi
+cd /home/wareck
+cd sensors-lxpanel-plugin
+make
+sudo make install
+sudo rm -r /home/wareck/sensors-lxpanel-plugin
+echo "Done."
+
 echo -e "$(tput setaf 10)\nConfig files:$(tput sgr0)"
 cd /home/wareck/
 su wareck -c 'gsettings set org.gnome.desktop.background picture-uri /home/wareck/Images/mr-robot-wallpapers.jpg'
 su wareck -c 'gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 32'
 #su wareck -c 'gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false'
 sleep 0.5
-
 sudo rm -r -f /etc/update-motd.d/*
 tar xfJ pack1.tar.xz --checkpoint=.10
 echo -n -e "\n"
@@ -337,7 +351,6 @@ echo -n -e "\n"
 cd /home/wareck
 clear
 dynmotd
-echo "Done."
 
 sudo sed -i -e "s/# set constantshow/set constantshow/g" /etc/nanorc
 

+ 7 - 7
options/chia.sh

@@ -83,12 +83,12 @@ cmake ..
 make -j4
 echo -e "\e[97mDone.\e[0m"
 
-#echo -e "$(tput setaf 2)\nBuild Chia-Gui :$(tput sgr0)"
-#cd /home/wareck
-#git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules
-#cd chia-blockchain
-#sh install.sh
-#source ./activate
-#sh install-gui.sh
+echo -e "$(tput setaf 2)\nBuild Chia-Gui :$(tput sgr0)"
+cd /home/wareck
+git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules
+cd chia-blockchain
+sh install.sh
+source ./activate
+sh install-gui.sh
 
 echo -e "\n\e[97mEnd of process...\e[0m"