presplash.filename and icon.filename only worked if source.dir was .
For any other value of source.dir presplash and icon were broken.
This commit is contained in:
parent
6f1c779d04
commit
a91108007a
1 changed files with 2 additions and 3 deletions
|
@ -377,13 +377,12 @@ class TargetAndroid(Target):
|
|||
# add presplash
|
||||
presplash = config.getdefault('app', 'presplash.filename', '')
|
||||
if presplash:
|
||||
build_cmd += ' --presplash {}'.format(join(self.buildozer.app_dir,
|
||||
presplash))
|
||||
build_cmd += ' --presplash {}'.format(join(self.buildozer.app_dir, '..', '..', '..', presplash))
|
||||
|
||||
# add icon
|
||||
icon = config.getdefault('app', 'icon.filename', '')
|
||||
if icon:
|
||||
build_cmd += ' --icon {}'.format(join(self.buildozer.app_dir, icon))
|
||||
build_cmd += ' --icon {}'.format(join(self.buildozer.app_dir, '..', '..', '..', icon))
|
||||
|
||||
# build only in debug right now.
|
||||
if self.build_mode == 'debug':
|
||||
|
|
Loading…
Reference in a new issue