From 5ae5d5caee672b53f51b9968ecdeaf464860f2dc Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Thu, 27 Jun 2024 12:03:30 +0200 Subject: [PATCH] chore: use new download URL --- scripts/linux-x86_64/phoenixd/install.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/linux-x86_64/phoenixd/install.sh b/scripts/linux-x86_64/phoenixd/install.sh index 0bd359f2..7dd644cc 100644 --- a/scripts/linux-x86_64/phoenixd/install.sh +++ b/scripts/linux-x86_64/phoenixd/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -ALBYHUB_URL="https://nightly.link/getAlby/nostr-wallet-connect-next/workflows/http/build-executables/albyhub-Linux-x86_64.tar.gz.zip" +ALBYHUB_URL="https://getalby.com/install/hub/server-linux-x86_64" PHOENIX_VERSION="0.1.5" PHOENIX_URL="https://github.com/ACINQ/phoenixd/releases/download/v$PHOENIX_VERSION/phoenix-$PHOENIX_VERSION-linux-x64.zip" @@ -26,11 +26,9 @@ unzip -j phoenix-$PHOENIX_VERSION-linux-x64.zip -d phoenixd mkdir -p "$INSTALL_DIR/albyhub" wget $ALBYHUB_URL -unzip albyhub-Linux-x86_64.tar.gz.zip -tar xf albyhub-Linux-x86_64.tar.gz --directory=albyhub +tar xf albyhub-Server-Linux-x86_64.tar.gz --directory=albyhub -rm albyhub-Linux-x86_64.tar.gz -rm albyhub-Linux-x86_64.tar.gz.zip +rm albyhub-Server-Linux-x86_64.tar.gz rm phoenix-$PHOENIX_VERSION-linux-x64.zip ### Create start scripts @@ -48,7 +46,7 @@ tee -a $INSTALL_DIR/albyhub/start.sh > /dev/null << EOF echo "Starting Alby Hub" phoenix_config_file=$INSTALL_DIR/phoenixd/data/phoenix.conf PHOENIXD_AUTHORIZATION=\$(awk -F'=' '/^http-password/{print \$2}' "\$phoenix_config_file") -WORK_DIR="$INSTALL_DIR/albyhub/data" LN_BACKEND_TYPE=PHOENIX PHOENIXD_ADDRESS="http://localhost:9740" PHOENIXD_AUTHORIZATION=\$PHOENIXD_AUTHORIZATION LOG_EVENTS=true LDK_GOSSIP_SOURCE="" $INSTALL_DIR/albyhub/bin/albyhub-x86_64 +WORK_DIR="$INSTALL_DIR/albyhub/data" LN_BACKEND_TYPE=PHOENIX PHOENIXD_ADDRESS="http://localhost:9740" PHOENIXD_AUTHORIZATION=\$PHOENIXD_AUTHORIZATION LOG_EVENTS=true LDK_GOSSIP_SOURCE="" $INSTALL_DIR/albyhub/bin/albyhub EOF tee -a $INSTALL_DIR/start.sh > /dev/null << EOF