We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee24ac4 commit ea20745Copy full SHA for ea20745
1 file changed
pythonforandroid/bootstraps/webview/build/build.py
@@ -351,6 +351,10 @@ def make_package(args):
351
'custom_rules.xml',
352
args=args)
353
354
+ render('WebViewLoader.tmpl.java',
355
+ 'src/org/kivy/android/WebViewLoader.java',
356
+ args=args)
357
+
358
with open(join(dirname(__file__), 'res',
359
'values', 'strings.xml')) as fileh:
360
lines = fileh.read()
@@ -444,6 +448,8 @@ def parse_args(args=None):
444
448
'NAME:PATH_TO_PY[:foreground]')
445
449
ap.add_argument('--add-source', dest='extra_source_dirs', action='append',
446
450
help='Include additional source dirs in Java build')
451
+ ap.add_argument('--port', help='The port on localhost that the WebView will access',
452
+ default='5000')
447
453
454
if args is None:
455
args = sys.argv[1:]
0 commit comments