File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,12 @@ def select(fn):
206
206
207
207
def make_package (args ):
208
208
version_code = 0
209
- manifest_extra = '<uses-feature android:glEsVersion="0x00020000" />'
209
+ manifest_extra = ['<uses-feature android:glEsVersion="0x00020000" />' ]
210
+ for filename in args .manifest_extra :
211
+ with open (filename , "r" ) as fd :
212
+ content = fd .read ()
213
+ manifest_extra .append (content )
214
+ manifest_extra = '\n ' .join (manifest_extra )
210
215
url_scheme = 'kivy'
211
216
default_icon = 'templates/kivy-icon.png'
212
217
default_presplash = 'templates/kivy-presplash.jpg'
@@ -455,9 +460,11 @@ def make_package(args):
455
460
'argument more than once to include multiple jars' ))
456
461
ap .add_argument ('--meta-data' , dest = 'meta_data' , action = 'append' ,
457
462
help = 'Custom key=value to add in application metadata' )
458
-
459
463
ap .add_argument ('--resource' , dest = 'resource' , action = 'append' ,
460
464
help = 'Custom key=value to add in strings.xml resource file' )
465
+ ap .add_argument ('--manifest-extra' , dest = 'manifest_extra' , action = 'append' ,
466
+ help = 'Custom file to add at the end of the manifest' )
467
+
461
468
462
469
args = ap .parse_args ()
463
470
You can’t perform that action at this time.
0 commit comments