p4a ref: electrum_20240930_android_16kb_page_alignment Dockerfile: obtain 16kb aligned NDK r23 from google CI (dl-ndk-ci.sh) barcode, zxing-cpp: add 16kb align patch build_tools_util.sh: add function to apply a patch
9 lines
290 B
Bash
Executable File
9 lines
290 B
Bash
Executable File
#!/bin/sh
|
|
if [ -z "$1" ]; then
|
|
echo "missing url"
|
|
exit 1
|
|
fi
|
|
echo $1
|
|
|
|
curl $1 | grep "var JSVariables" | python3 -c "import sys; line=sys.stdin.read(); line=line[line.find('{'):-2]; import json; j=json.loads(line); print(j['artifactUrl'])" | wget -i - -O android-ndk-ci-linux-x86_64.zip
|