Browse Source

use legacy libs for OSX

pkg_automation_electrum
ca333 7 years ago
committed by GitHub
parent
commit
80646dc007
  1. 17
      binary_artifacts.sh

17
binary_artifacts.sh

@ -20,16 +20,17 @@ echo Step: Permission +x for OSX binaries from artifacts to assets/bin/osx/
echo
chmod +x assets/artifacts.supernet.org/latest/osx/iguana \
assets/artifacts.supernet.org/latest/osx/komodo*
#cp -rvf assets/artifacts.supernet.org/latest/osx/* assets/bin/osx/
mkdir assets/bin
echo Moving OSX bins to assets/bin
wget https://supernetorg.bintray.com/binaries/komodo_OSX_latest.zip
checksum=`shasum -a 256 komodo_OSX_latest.zip | awk '{ print $1 }'`
if [ "$checksum" = "c20a1b7268dd0d9bbc8984a0e76cc868d8b4479af18cd1dde4406f63b7f12255" ]; then
mv assets/artifacts.supernet.org/latest/osx assets/bin/osx
echo Moving legacy libs to assets/bin
wget https://supernetorg.bintray.com/misc/libs_legacy_osx.zip
checksum=`shasum -a 256 libs_legacy_osx.zip | awk '{ print $1 }'`
if [ "$checksum" = "e9474aa243694a2d4c87fccc443e4b16a9a5172a24da76af9e5ecddd006649bb" ]; then
echo "Checksum is correct."
unzip komodo_OSX_latest.zip
mv komodo_OSX_latest assets/bin/osx
unzip libs_legacy_osx.zip
cp -rvf libs_legacy_osx/* assets/bin/osx/.
else
echo "Checksum is incorrect!"
exit 0

Loading…
Cancel
Save