diff --git a/contrib/make_apk b/contrib/make_apk index 773aeab548d2..6940222cd44e 100755 --- a/contrib/make_apk +++ b/contrib/make_apk @@ -2,6 +2,8 @@ pushd ./electrum/gui/kivy/ +make theming + if [[ -n "$1" && "$1" == "release" ]] ; then echo -n Keystore Password: read -s password diff --git a/electrum/gui/kivy/Readme.md b/electrum/gui/kivy/Readme.md index 83bc01a364ab..75e07d2dd300 100644 --- a/electrum/gui/kivy/Readme.md +++ b/electrum/gui/kivy/Readme.md @@ -24,16 +24,23 @@ folder. $ sudo docker build -t electrum-android-builder-img electrum/gui/kivy/tools ``` +3. Prepare pure python dependencies + + ``` + $ sudo ./contrib/make_packages + ``` + 3. Build binaries ``` $ sudo docker run \ --name electrum-android-builder-cont \ - --rm \ + --rm -i \ -v $PWD:/home/user/wspace/electrum \ + -v ~/.keystore:/home/user/.keystore \ --workdir /home/user/wspace/electrum \ electrum-android-builder-img \ - ./electrum/gui/kivy/tools/build.sh + ./contrib/make_apk ``` This mounts the project dir inside the container, and so the modifications will affect it, e.g. `.buildozer` folder diff --git a/electrum/gui/kivy/tools/build.sh b/electrum/gui/kivy/tools/build.sh deleted file mode 100755 index fa8de30b7df4..000000000000 --- a/electrum/gui/kivy/tools/build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -pushd electrum/gui/kivy -make theming -popd - -sudo ./contrib/make_packages - -./contrib/make_apk