Files
simplex-chat/scripts/ci/android/install-core.sh

13 lines
409 B
Bash
Executable File

#!/bin/bash
# Unpacks the core package from build-core.sh where scripts/android/download-libs.sh puts the Hydra builds.
# Usage: scripts/ci/android/install-core.sh <core .tar.gz>
set -euo pipefail
libs_dir=apps/multiplatform/common/src/commonMain/cpp/android/libs/arm64-v8a
mkdir -p "$libs_dir"
tar -C "$libs_dir" -xzf "$1"
ls -la "$libs_dir"
readelf -d "$libs_dir/libsimplex.so" | grep -E 'NEEDED|SONAME'