mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
- mkp4a.init: 1 optional parameter - mkp4a.unsigned: 2 paramters (sdk and ndk paths) - mkp4a.preload: new helper script
29 lines
480 B
Bash
Executable file
29 lines
480 B
Bash
Executable file
#!/bin/bash
|
|
set -eux
|
|
|
|
. mkp4a.common
|
|
|
|
# NOTE: $1 and $2 (sdk and ndk) used with fdroid build only.
|
|
|
|
if [[ $# == 2 ]]
|
|
then
|
|
sdkdir=$1
|
|
ndkdir=$2
|
|
fi
|
|
|
|
python3 -m pythonforandroid.toolchain apk \
|
|
${p4a_options} \
|
|
--sdk-dir ${sdkdir} \
|
|
--ndk-dir ${ndkdir} \
|
|
--release
|
|
|
|
# python3 -m pythonforandroid.toolchain apk
|
|
# ...
|
|
# --release #1
|
|
# --sign #2
|
|
# ...
|
|
#
|
|
# ad 1,2:
|
|
# ohne: -> debug version
|
|
# 1: -> release unsigned
|
|
# 1 und 2: -> release version.
|