This commit is contained in:
Justin (shocknet) 2024-07-16 16:36:25 -04:00
parent 352c0b97c0
commit a5c9a2673e
3 changed files with 1 additions and 403 deletions

View file

@ -9,7 +9,6 @@ install_lnd() {
USER_NAME=$(whoami)
fi
# Improved version extraction logic
LND_VERSION=$(wget -qO- https://api.github.com/repos/lightningnetwork/lnd/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')
LND_URL="https://github.com/lightningnetwork/lnd/releases/download/${LND_VERSION}/lnd-${OS}-${ARCH}-${LND_VERSION}.tar.gz"