zenith-install - Zenith installer updated to version 0.6.0.0
Automatic creation of "tar.gz" package included
|
@ -1,13 +1,33 @@
|
|||
#!/bin/bash
|
||||
ZVERSION="0.6.0.0"
|
||||
echo
|
||||
echo "Updating installer binary files ...."
|
||||
echo
|
||||
echo "... copying zenith to installer/bin folder"
|
||||
cp ../dist-newstyle/build/x86_64-linux/ghc-9.4.8/zenith-0.5.3.0/build/zenith/zenith zenith-0.5.3.0-binary/bin/
|
||||
echo "... copying assets folder to installer/assets folder"
|
||||
cp ../assets/* zenith-0.5.3.0-binary/bin/
|
||||
echo "... copying librustzcash_wrapper.so to installer/lib folder"
|
||||
cp ../zcash-haskell/librustzcash-wrapper/target/x86_64-unknown-linux-gnu/debug/librustzcash_wrapper.so zenith-0.5.3.0-binary/lib/
|
||||
echo "... copying zenith to zenith-"$ZVERSION"-amd64/bin folder"
|
||||
cp "../dist-newstyle/build/x86_64-linux/ghc-9.4.8/zenith-0.5.3.0/build/zenith/zenith" "zenith-"$ZVERSION"-amd64/bin/"
|
||||
echo "... copying assets folder to zenith-"$ZVERSION"-amd64/assets folder"
|
||||
cp -r "../assets/" "zenith-"$ZVERSION"-amd64/"
|
||||
echo "... copying librustzcash_wrapper.so to zenith-"$ZVERSION"-amd64/lib folder"
|
||||
cp "../zcash-haskell/librustzcash-wrapper/target/x86_64-unknown-linux-gnu/debug/librustzcash_wrapper.so" "zenith-"$ZVERSION"-amd64/lib/"
|
||||
echo
|
||||
read -r -p "Do you want to create the installer package (.tar.gz)? [Y/n] " response
|
||||
case "$response" in
|
||||
[yY])
|
||||
if [ -f "zenith-"$ZVERSION"-amd64.tar.gz" ]; then
|
||||
if [ -f "zenith-"$ZVERSION"-amd64.tar.gz.prev" ]; then
|
||||
rm "zenith-"$ZVERSION"-amd64.tar.gz.prev"
|
||||
fi
|
||||
echo "... previous package found, saving it as 'zenith-"$ZVERSION"-amd64.tar.gz.prev'"
|
||||
mv "zenith-"$ZVERSION"-amd64.tar.gz" "zenith-"$ZVERSION"-amd64.tar.gz.prev"
|
||||
fi
|
||||
echo "... creating zenith-"$ZVERSION"-amd64.tar.gz"
|
||||
tar czf "zenith-"$ZVERSION"-amd64.tar.gz" "zenith-"$ZVERSION"-amd64"
|
||||
echo "... zenith-"$ZVERSION"-amd64.tar.gz created."
|
||||
;;
|
||||
*)
|
||||
echo "... installer package not created."
|
||||
;;
|
||||
esac
|
||||
echo
|
||||
echo "Done "
|
||||
echo
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
BIN
installer/zenith-0.6.0.0-amd64/bin/1F616_color.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
installer/zenith-0.6.0.0-amd64/bin/1F928_color.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
installer/zenith-0.6.0.0-amd64/bin/1F993.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
installer/zenith-0.6.0.0-amd64/bin/2620_color.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
installer/zenith-0.6.0.0-amd64/bin/DejaVuSansMono-Bold.ttf
Normal file
BIN
installer/zenith-0.6.0.0-amd64/bin/DejaVuSansMono-Oblique.ttf
Normal file
BIN
installer/zenith-0.6.0.0-amd64/bin/DejaVuSansMono.ttf
Normal file
BIN
installer/zenith-0.6.0.0-amd64/bin/Roboto-Regular.ttf
Normal file
BIN
installer/zenith-0.6.0.0-amd64/bin/remixicon.ttf
Normal file
BIN
installer/zenith-0.6.0.0-amd64/lib/libc-bin_2.38-1ubuntu6_amd64.deb
Executable file
BIN
installer/zenith-0.6.0.0-amd64/lib/libc-dev-bin_2.38-1ubuntu6_amd64.deb
Executable file
BIN
installer/zenith-0.6.0.0-amd64/lib/libc6_2.38-1ubuntu6_amd64.deb
Executable file
|
@ -1,9 +1,11 @@
|
|||
#!/bin/bash
|
||||
echo
|
||||
echo Zenith Full Node Wallet Config
|
||||
echo "Zenith Full Node Wallet Configuration"
|
||||
echo "Zenith Version 0.6.0.0"
|
||||
echo "Configuration Version: 1.0"
|
||||
echo
|
||||
if [ -d $HOME/Zenith ]; then
|
||||
echo "Configuration files found, please backup your Zenith folder or"
|
||||
echo "Configuration files found, please backup your Zenith folder and"
|
||||
echo "remove it before trying to configure Zenith again."
|
||||
echo
|
||||
exit
|
||||
|
@ -13,6 +15,12 @@ else
|
|||
mkdir -p $HOME/Zenith
|
||||
echo "Copying default configuration ...."
|
||||
cp ./cfg/zenith.cfg $HOME/Zenith/
|
||||
chown -R $USER $HOME/Zenith
|
||||
echo "Creating assets folder ...."
|
||||
mkdir -p $HOME/assets
|
||||
echo "Transfering assets to new folder ...."
|
||||
cp ./assets/* $HOME/assets
|
||||
chown -R $USER $HOME/assets
|
||||
echo "Configuring library path ...."
|
||||
if [ ! grep -q "LD_LIBRARY_PATH" "$HOME/.bashrc" ]; then
|
||||
echo 'export LD_LIBRARY_PATH=/usr/local/lib' | tee -a $HOME/.bashrc
|
||||
|
@ -21,7 +29,7 @@ else
|
|||
else
|
||||
echo "Library path configured ...."
|
||||
fi
|
||||
echo "Zenith is ready!!"
|
||||
echo "Zenith is ready!!. Remember to have your Zebra Node up and running...."
|
||||
else
|
||||
echo "Please, install Zenith first!!!"
|
||||
fi
|
|
@ -1,6 +1,9 @@
|
|||
#!/bin/bash
|
||||
ZVERSION="0.6.0.0"
|
||||
echo
|
||||
echo "Zenith Full Node Wallet Installer (Version 0.5.3.0)"
|
||||
echo "Zenith Full Node Wallet Installer"
|
||||
echo "Zenith Version: $ZVERSION"
|
||||
echo "Installer version: 1.0"
|
||||
echo
|
||||
if [ "$UID" != "0" ]; then
|
||||
echo "Please run the installer using 'sudo'!!!"
|
||||
|
@ -22,7 +25,8 @@ else
|
|||
cp ./lib/librustzcash_wrapper.so /usr/local/lib
|
||||
cp ./lib/sapling-spend.params /usr/local/lib
|
||||
cp ./lib/sapling-output.params /usr/local/lib
|
||||
dpkg -i ./lib/libc6_2.38-1ubuntu6_amd64.deb ./lib/libc-bin_2.38-1ubuntu6_amd64.deb ./lib/libc-dev-bin_2.38-1ubuntu6_amd64.deb
|
||||
echo
|
||||
echo "Zenith installed !!!"
|
||||
echo "Zenith $ZVERSION installed !!!"
|
||||
echo
|
||||
fi
|