1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Android support:

- mkcards restored
- new file buildozer.run
- build instructions adapted
This commit is contained in:
lufebe16 2023-04-23 11:42:12 +02:00
parent 04c9f80a41
commit 1cfb7c3f69
4 changed files with 21 additions and 14 deletions

View file

@ -40,7 +40,7 @@ setup, to reflect the local situation.
Execution of buildozer needs some time. You
will have to accept a lizense from google.
$> buildozer android debug
$> ./buildozer.run
Finally if all worked fine, the apk file is found in
directory ./bin/.
@ -52,7 +52,7 @@ to get better information on what to do.
Make a release Version:
-----------------------
$> buildozer android release
$> ./buildozer.run release
Without signing information the result apk is a
'release-unsigned' that can be signed afterwards

View file

@ -37,8 +37,4 @@ echo '### eval version'
./version.py > ${tmpdir}/version.txt
echo '### add more java heap space for gradle'
# export GRADLE_OPTS="-Xms1724m -Xmx5048m -Dorg.gradle.jvmargs='-Xms1724m -Xmx5048m'"
echo '### end init'

19
buildozer/buildozer.run Executable file
View file

@ -0,0 +1,19 @@
#!/bin/bash
#set -eux
echo '### prepare jvm heap for gradle'
export GRADLE_OPTS="-Xms1724m -Xmx5048m -Dorg.gradle.jvmargs='-Xms1724m -Xmx5048m'"
echo '### run buildozer'
if [ "$1" ]
then
echo '### ... release'
buildozer android release
else
echo '### ... debug'
buildozer android debug
fi
echo '### end run'

View file

@ -25,12 +25,4 @@ echo '### processing cardsets'
done
)
echo '### remove big cardsets'
{
cd ${cardsets_dir}
rm -rf cardset-louie-mantia-hanafuda
rm -rf cardset-neo-tarock
rm -rf cardset-neo-hex
}
echo '### end cardsets'