-
-
Save arbal/068340505ab8de5b1a1919a225793144 to your computer and use it in GitHub Desktop.
[macos] homebrew-installed signal w/v2 group support (fixes libzkgroup warning)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| set -x | |
| brew install signal-cli | |
| SIGNAL_LIBEXEC_LIBDIR="`brew --prefix signal-cli`/libexec/lib" | |
| # zkgroup-java*.jar --- remove the linux x86_64 bundled lib | |
| zip -d "${SIGNAL_LIBEXEC_LIBDIR}/"zkgroup-java-*.jar libzkgroup.so || true | |
| # download libzkgroup.dylib from | |
| # https://github.com/signalapp/zkgroup/releases | |
| cd /tmp | |
| curl -LO "https://github.com/signalapp/zkgroup/releases/download/v0.7.1/libzkgroup.dylib" | |
| # zkgroup-java*.jar --- bundle the freshly-download mac lib | |
| zip -u "${SIGNAL_LIBEXEC_LIBDIR}/"zkgroup-java-*.jar ./libzkgroup.dylib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment