mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-24 13:38:11 +00:00
Upgrade JoininBox to v0.4.0
This commit is contained in:
parent
88c56b1893
commit
ba6df9b47e
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user