Merge pull request #117 from lbryio/update-lbrycrdd
use most recent lbrycrdd release on github
This commit is contained in:
commit
ce605cb8f3
2 changed files with 5 additions and 2 deletions
|
@ -70,7 +70,10 @@ fi
|
||||||
|
|
||||||
# add lbrycrdd as a resource. Following
|
# add lbrycrdd as a resource. Following
|
||||||
# http://stackoverflow.com/questions/11370012/can-executables-made-with-py2app-include-other-terminal-scripts-and-run-them
|
# 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
|
python setup_app.py py2app --resources lbrycrdd
|
||||||
|
|
||||||
chmod +x "${DEST}/dist/LBRY.app/Contents/Resources/lbrycrdd"
|
chmod +x "${DEST}/dist/LBRY.app/Contents/Resources/lbrycrdd"
|
||||||
|
|
|
@ -170,7 +170,7 @@ addfile "$PACKAGING_DIR/lbry-temp-symlink" usr/bin/lbry
|
||||||
|
|
||||||
# add lbrycrdd and lbrycrd-cli
|
# add lbrycrdd and lbrycrd-cli
|
||||||
mkdir -p "$PACKAGING_DIR/bins"
|
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/"
|
unzip "$PACKAGING_DIR/bins.zip" -d "$PACKAGING_DIR/bins/"
|
||||||
addfile "$PACKAGING_DIR/bins/lbrycrdd" usr/bin/lbrycrdd
|
addfile "$PACKAGING_DIR/bins/lbrycrdd" usr/bin/lbrycrdd
|
||||||
addfile "$PACKAGING_DIR/bins/lbrycrd-cli" usr/bin/lbrycrd-cli
|
addfile "$PACKAGING_DIR/bins/lbrycrd-cli" usr/bin/lbrycrd-cli
|
||||||
|
|
Loading…
Reference in a new issue