Skip to content

Commit

Permalink
add p4a.port config option; to allow specifiying webview
Browse files Browse the repository at this point in the history
  • Loading branch information
replabrobin committed Nov 28, 2017
1 parent 3a93783 commit ff8cf78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions buildozer/targets/android_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ def __init__(self, *args, **kwargs):
hook = self.buildozer.config.getdefault("app", "p4a.hook", None)
if hook is not None:
self.extra_p4a_args += ' --hook={}'.format(realpath(hook))
port = self.buildozer.config.getdefault('app', 'p4a.port', None)
if port is not None:
self.extra_p4a_args += ' --port={}'.format(port)

def _p4a(self, cmd, **kwargs):
if not hasattr(self, "pa_dir"):
Expand Down

0 comments on commit ff8cf78

Please sign in to comment.