From 52952f333548ece478ac04e1403f7a0e91db6065 Mon Sep 17 00:00:00 2001 From: openoms <43343391+openoms@users.noreply.github.com> Date: Wed, 9 Nov 2022 19:36:02 +0000 Subject: [PATCH] thunderhub to v0.13.16 w DISABLE_BALANCE_PUSHES (#3416) --- CHANGES.md | 1 + home.admin/config.scripts/bonus.thunderhub.sh | 17 +++++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index dd8266564..3d241ee12 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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) diff --git a/home.admin/config.scripts/bonus.thunderhub.sh b/home.admin/config.scripts/bonus.thunderhub.sh index 0afb10842..1c7b275f6 100755 --- a/home.admin/config.scripts/bonus.thunderhub.sh +++ b/home.admin/config.scripts/bonus.thunderhub.sh @@ -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