File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
pythonforandroid/bootstraps/webview/build Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -351,6 +351,10 @@ def make_package(args):
351351 'custom_rules.xml' ,
352352 args = args )
353353
354+ render ('WebViewLoader.tmpl.java' ,
355+ 'src/org/kivy/android/WebViewLoader.java' ,
356+ args = args )
357+
354358 with open (join (dirname (__file__ ), 'res' ,
355359 'values' , 'strings.xml' )) as fileh :
356360 lines = fileh .read ()
@@ -444,6 +448,8 @@ def parse_args(args=None):
444448 'NAME:PATH_TO_PY[:foreground]' )
445449 ap .add_argument ('--add-source' , dest = 'extra_source_dirs' , action = 'append' ,
446450 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' )
447453
448454 if args is None :
449455 args = sys .argv [1 :]
You can’t perform that action at this time.
0 commit comments