From efa36d9160118488834b75461bb9cfcd905e1a5c Mon Sep 17 00:00:00 2001 From: jobevers Date: Thu, 26 Jan 2017 16:27:07 -0600 Subject: [PATCH] build lbryum from source; sign app --- build.sh | 15 ++++++++++++--- lbry | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index dd246fdb6..3da37f96c 100755 --- a/build.sh +++ b/build.sh @@ -35,6 +35,11 @@ fi ( cd "$ROOT/lbry" pip install -r requirements.txt + # need to install our version of lbryum, not + # what is currently on master + pushd "$ROOT/lbryum" + pip install . + popd pip install . ) @@ -57,16 +62,20 @@ mv "$ROOT/lbrynet/dist/lbry" "$ROOT/electron/dist" if [ -n "${TEAMCITY_VERSION:-}" ]; then electron-packager --electron-version=1.4.14 --overwrite "$ROOT/electron" LBRY --icon="${ICON}" - # TODO: sign the app ( - cd "$ROOT/lbry" + pushd "$ROOT/lbry" VERSION=$(python setup.py -V) - cd "$ROOT" + popd if [ "$(uname)" == "Darwin" ]; then PLATFORM="darwin" + rm -rf "$ROOT/package/osx/LBRY.app" mv "LBRY-${PLATFORM}-x64/LBRY.app" "$ROOT/package/osx/LBRY.app" cd "$ROOT/package/osx/" + security unlock-keychain -p ${KEYCHAIN_PASSWORD} osx-build.keychain + codesign --deep -s "${LBRY_DEVELOPER_ID}" -f LBRY.app + # check if the signing actually worked + codesign -vvv LBRY.app/ dmgbuild -s dmg_settings.py "LBRY" "lbry-${VERSION}.dmg" mv "lbry-${VERSION}.dmg" "${ROOT}" elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then diff --git a/lbry b/lbry index cd239c592..a407bb2db 160000 --- a/lbry +++ b/lbry @@ -1 +1 @@ -Subproject commit cd239c5925d5ff60addf14123db7cb2d17d14a93 +Subproject commit a407bb2db21bf9460100eddd130401d33c0e538b