Added --private and --dir Android storage option
This commit is contained in:
parent
a8dba50178
commit
d846f7e966
2 changed files with 6 additions and 1 deletions
|
@ -66,6 +66,9 @@ fullscreen = 1
|
|||
# (str) Android NDK version to use
|
||||
#android.ndk = 9
|
||||
|
||||
# (bool) Use --private data storage (True) or --dir public storage (False)
|
||||
#android.privatestorage = True
|
||||
|
||||
# (str) Android NDK directory (if empty, it will be automatically downloaded.)
|
||||
#android.ndk_path =
|
||||
|
||||
|
|
|
@ -403,13 +403,15 @@ class TargetAndroid(Target):
|
|||
'{python} build.py --name {name}'
|
||||
' --version {version}'
|
||||
' --package {package}'
|
||||
' --private {appdir}'
|
||||
' --{storage_type} {appdir}'
|
||||
' --sdk {androidsdk}'
|
||||
' --minsdk {androidminsdk}').format(
|
||||
python=executable,
|
||||
name=quote(config.get('app', 'title')),
|
||||
version=version,
|
||||
package=package,
|
||||
storage_type='private' if config.getbooldefault(
|
||||
'app', 'android.privatestorage', True) else 'dir',
|
||||
appdir=self.buildozer.app_dir,
|
||||
androidminsdk=config.getdefault(
|
||||
'app', 'android.minsdk', 8),
|
||||
|
|
Loading…
Reference in a new issue