From 849aeb65f0b81e368901ce436472ef1e23c0e20a Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Tue, 9 Aug 2016 10:06:14 -0500 Subject: [PATCH] use most recent lbrycrdd release on github --- packaging/osx/lbry-osx-app/setup_app.sh | 5 ++++- packaging/ubuntu/ubuntu_package_setup.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packaging/osx/lbry-osx-app/setup_app.sh b/packaging/osx/lbry-osx-app/setup_app.sh index ad3ca8449..7d91f0447 100755 --- a/packaging/osx/lbry-osx-app/setup_app.sh +++ b/packaging/osx/lbry-osx-app/setup_app.sh @@ -70,7 +70,10 @@ fi # add lbrycrdd as a resource. Following # http://stackoverflow.com/questions/11370012/can-executables-made-with-py2app-include-other-terminal-scripts-and-run-them -wget https://github.com/lbryio/lbrycrd/releases/download/v0.3-osx/lbrycrdd +# LBRYCRDD_URL="$(curl https://api.github.com/repos/lbryio/lbrycrd/releases/latest | grep 'browser_download_url' | grep osx | cut -d'"' -f4)" +LBRYCRDD_URL="https://github.com/lbryio/lbrycrd/releases/download/v0.3.15/lbrycrd-osx.zip" +wget "${LBRYCRDD_URL}" --output-document lbrycrd-osx.zip +unzip lbrycrd-osx.zip python setup_app.py py2app --resources lbrycrdd chmod +x "${DEST}/dist/LBRY.app/Contents/Resources/lbrycrdd" diff --git a/packaging/ubuntu/ubuntu_package_setup.sh b/packaging/ubuntu/ubuntu_package_setup.sh index 9d74901e8..111c27834 100755 --- a/packaging/ubuntu/ubuntu_package_setup.sh +++ b/packaging/ubuntu/ubuntu_package_setup.sh @@ -170,7 +170,7 @@ addfile "$PACKAGING_DIR/lbry-temp-symlink" usr/bin/lbry # add lbrycrdd and lbrycrd-cli mkdir -p "$PACKAGING_DIR/bins" -wget http://s3.amazonaws.com/files.lbry.io/bins.zip --output-document "$PACKAGING_DIR/bins.zip" +wget "$(curl https://api.github.com/repos/lbryio/lbrycrd/releases/latest | grep 'browser_download_url' | grep linux | cut -d'"' -f4)" --output-document "$PACKAGING_DIR/bins.zip" unzip "$PACKAGING_DIR/bins.zip" -d "$PACKAGING_DIR/bins/" addfile "$PACKAGING_DIR/bins/lbrycrdd" usr/bin/lbrycrdd addfile "$PACKAGING_DIR/bins/lbrycrd-cli" usr/bin/lbrycrd-cli