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):
351
351
'custom_rules.xml' ,
352
352
args = args )
353
353
354
+ render ('WebViewLoader.tmpl.java' ,
355
+ 'src/org/kivy/android/WebViewLoader.java' ,
356
+ args = args )
357
+
354
358
with open (join (dirname (__file__ ), 'res' ,
355
359
'values' , 'strings.xml' )) as fileh :
356
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
448
454
if args is None :
449
455
args = sys .argv [1 :]
You can’t perform that action at this time.
0 commit comments