thunderhub to v0.13.16 w DISABLE_BALANCE_PUSHES (#3416)

This commit is contained in:
openoms
2022-11-09 19:36:02 +00:00
committed by GitHub
parent 3e2fdb2b7b
commit 52952f3335
2 changed files with 12 additions and 6 deletions

View File

@@ -6,6 +6,7 @@
- Update: LND v0.15.3 [details](https://github.com/lightningnetwork/lnd/releases/tag/v0.15.3-beta
- Update: Core Lightning v0.12.1 [details](https://github.com/ElementsProject/lightning/releases/tag/v0.12.1)
- Update: RTL v0.13.0 with update option [details](https://github.com/Ride-The-Lightning/RTL/releases/tag/v0.12.3)
- Update: Thunderhub v0.13.16 with balance sharing disabled [details](https://github.com/apotdevin/thunderhub/releases/tag/v0.13.16)
- Update: LNbits 0.9.4 [details](https://github.com/lnbits/lnbits-legend/releases/tag/0.9.2)
- Update: ItchySats 0.7.0 [details](https://github.com/itchysats/itchysats/releases/tag/0.7.0)
- Update: Jam (JoinMarket Web UI) v0.1.2 [details](https://github.com/joinmarket-webui/joinmarket-webui/releases/tag/v0.1.0)

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# https://github.com/apotdevin/thunderhub
THUBVERSION="v0.13.6"
THUBVERSION="v0.13.16"
# command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
@@ -161,6 +161,8 @@ DISABLE_LNMARKETS = true
NO_VERSION_CHECK = true
# https://nextjs.org/telemetry#how-do-i-opt-out
NEXT_TELEMETRY_DISABLED=1
# disable balance sharing server side
DISABLE_BALANCE_PUSHES = true
# -----------
# Account Configs
@@ -279,7 +281,7 @@ WantedBy=multi-user.target
fi
fi
# needed for API/WebUI as signal that install ran thru
# needed for API/WebUI as signal that install ran thru
echo "result='OK'"
exit 0
fi
@@ -314,10 +316,10 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
echo "OK ThunderHub removed."
# setting value in raspi blitz config
/home/admin/config.scripts/blitz.conf.sh set thunderhub "off"
# disable balance sharing server side
/home/admin/config.scripts/blitz.conf.sh set DISABLE_BALANCE_PUSHES true /mnt/hdd/app-data/thunderhub/.env.local noquotes
# needed for API/WebUI as signal that install ran thru
# needed for API/WebUI as signal that install ran thru
echo "result='OK'"
exit 0
fi
@@ -355,10 +357,13 @@ if [ "$1" = "update" ]; then
exit 1
fi
# opt out of telemetry
# opt out of telemetry
echo "# opt out of telemetry .. "
sudo -u thunderhub npx next telemetry disable
# disable balance sharing server side
/home/admin/config.scripts/blitz.conf.sh set blitzapi "on" /home/admin/raspiblitz.info
# build nextjs
echo "# Building application..."
sudo -u thunderhub npm run build