dist: Neatly indent AndroidManifest.xml
This commit is contained in:
parent
8a23014cc6
commit
4763ddba21
|
|
@ -900,6 +900,8 @@ class build_apps(setuptools.Command):
|
|||
ET.SubElement(intent_filter, 'category').set('android:name', 'android.intent.category.LEANBACK_LAUNCHER')
|
||||
|
||||
tree = ET.ElementTree(manifest)
|
||||
if sys.version_info >= (3, 9):
|
||||
ET.indent(tree)
|
||||
with open(path, 'wb') as fh:
|
||||
tree.write(fh, encoding='utf-8', xml_declaration=True)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue