From f9d3ffd76a794cbd6b9ef5a295b6c61964925339 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 27 Apr 2021 17:34:49 -0700 Subject: [PATCH] script to fetch libcwtch-go libs for linux, android and windows based on commited version --- LIBCWTCH-GO.version | 1 + fetch-libcwtch-go.sh | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 LIBCWTCH-GO.version create mode 100755 fetch-libcwtch-go.sh diff --git a/LIBCWTCH-GO.version b/LIBCWTCH-GO.version new file mode 100644 index 0000000..a16d577 --- /dev/null +++ b/LIBCWTCH-GO.version @@ -0,0 +1 @@ +libCwtch-go-v0.0.2-2021-04-27-23-25 diff --git a/fetch-libcwtch-go.sh b/fetch-libcwtch-go.sh new file mode 100755 index 0000000..a604c54 --- /dev/null +++ b/fetch-libcwtch-go.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +VERSION=`cat LIBCWTCH-GO.version` +echo $VERSION + +wget https://build.openprivacy.ca/libcwtch-go-$VERSION/cwtch.aar -o android/cwtch/cwtch.aar +wget https://build.openprivacy.ca/libcwtch-go-$VERSION/libCwtch.dll -o windows/libCwtch.dll +wget https://build.openprivacy.ca/libcwtch-go-$VERSION/libCwtch.so -o linux/libCwtch.so +