Skip to content

Commit e8686e2

Browse files
authored
Add icon-bg and icon-fg to fix_args + adds a missing folder in webview dir template (kivy#2633)
* Add icon-bg and icon-fg to fix_args Fix the icon-bg and icon-fg arguments and also create the folder mipmap-anydpi-v26 if it doesn't exists before trying to create a file inside. * Use existing ensure_dir function to create anydpi_dir * Add mipmap-anydpi-v26 to bootstrap template This makes available the directory in the final template so it's not needed to check the directory exists.
1 parent 36b17aa commit e8686e2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pythonforandroid/bootstraps/webview/build/src/main/res/mipmap-anydpi-v26/.gitkeep

Whitespace-only changes.

pythonforandroid/toolchain.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,8 @@ def _fix_args(args):
990990
"""
991991

992992
fix_args = ('--dir', '--private', '--add-jar', '--add-source',
993-
'--whitelist', '--blacklist', '--presplash', '--icon')
993+
'--whitelist', '--blacklist', '--presplash', '--icon',
994+
'--icon-bg', '--icon-fg')
994995
unknown_args = args.unknown_args
995996

996997
for asset in args.assets:

0 commit comments

Comments
 (0)