Upgrade JoininBox to v0.4.0

This commit is contained in:
Taylor Helsper 2021-05-17 23:02:54 -05:00
parent 88c56b1893
commit ba6df9b47e
5 changed files with 3 additions and 45 deletions

View File

@ -576,12 +576,6 @@ if should_install_app "joininbox" ; then
chmod -R +x ./joininbox/
sudo -u joinmarket cp -rf ./joininbox/scripts/* .
# Apply patches
echo "" > set.password.sh
echo "" > standalone/expand.rootfs.sh
sudo -u joinmarket cp /usr/share/joininbox/menu.update.sh /home/joinmarket/menu.update.sh
sudo -u joinmarket sed -i "s|/home/joinmarket/menu.config.sh|echo 'mynode skip config'|g" /home/joinmarket/start.joininbox.sh
# Install
sudo -u joinmarket bash -c "cd /home/joinmarket/; ./install.joinmarket.sh install" || true

View File

@ -1,31 +0,0 @@
#!/bin/bash
source /home/joinmarket/_functions.sh
# BASIC MENU INFO
HEIGHT=12
WIDTH=56
CHOICE_HEIGHT=1
TITLE="Update options"
MENU="Updates managed by myNode"
OPTIONS=()
BACKTITLE="JoininBox GUI"
# Basic Options
OPTIONS+=(\
RETURN "Back to main menu" \
)
CHOICE=$(dialog --clear \
--backtitle "$BACKTITLE" \
--title "$TITLE" \
--menu "$MENU" \
$HEIGHT $WIDTH $CHOICE_HEIGHT \
"${OPTIONS[@]}" \
2>&1 >/dev/tty)
case $CHOICE in
RETURN)
echo ""
;;
esac

View File

@ -53,7 +53,7 @@ JOINMARKET_VERSION="v0.8.2"
JOINMARKET_VERSION_FILE=/home/bitcoin/.mynode/joinmarket_version
JOINMARKET_LATEST_VERSION_FILE=/home/bitcoin/.mynode/joinmarket_version_latest
JOININBOX_VERSION="v0.3.0"
JOININBOX_VERSION="v0.4.0"
JOININBOX_VERSION_FILE=/home/bitcoin/.mynode/joininbox_version
JOININBOX_LATEST_VERSION_FILE=/home/bitcoin/.mynode/joininbox_version_latest

View File

@ -40,7 +40,7 @@
<!-- App Store Icon -->
<div class="app_tile">
<div class="app_logo"><img class="app_logo_icon" src="{{ url_for('static', filename="images/")}}marketplace.png"/></div>
<div class="app_logo"><img class="app_logo_icon" src="{{ url_for('static', filename="images/")}}apps.png"/></div>
<div class="app_title">Applications</div>
<div class="app_status" id="marketplace_status">Manage Apps</div>

View File

@ -625,12 +625,6 @@ if [ $IS_RASPI = 1 ] || [ $IS_X86 = 1 ]; then
chmod -R +x ./joininbox/
sudo -u joinmarket cp -rf ./joininbox/scripts/* .
# Apply patches
echo "" > set.password.sh
echo "" > standalone/expand.rootfs.sh
sudo -u joinmarket cp $TMP_INSTALL_PATH/usr/share/joininbox/menu.update.sh /home/joinmarket/menu.update.sh # fails in setup since files are extracted yet
sudo -u joinmarket sed -i "s|/home/joinmarket/menu.config.sh|echo 'mynode skip config'|g" /home/joinmarket/start.joininbox.sh
echo $JOININBOX_VERSION > $JOININBOX_VERSION_FILE
fi
fi
@ -868,6 +862,7 @@ if [ "$CURRENT" != "$SPHINXRELAY_VERSION" ]; then
fi
# SKIPPING BOS - OPTIONAL APP
# SKIPPING PYBLOCK - OPTIONAL APP
# SKIPPING WARDEN - OPTIONAL APP