mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
checkupdates: check packages in AM.xml files too
This commit is contained in:
parent
d17da074e9
commit
c8627764e3
1 changed files with 3 additions and 1 deletions
|
|
@ -1070,7 +1070,9 @@ def parse_androidmanifests(paths, app):
|
|||
else:
|
||||
xml = parse_xml(path)
|
||||
if "package" in xml.attrib:
|
||||
package = xml.attrib["package"].encode('utf-8')
|
||||
s = xml.attrib["package"].encode('utf-8')
|
||||
if app_matches_packagename(app, s):
|
||||
package = s
|
||||
if "{http://schemas.android.com/apk/res/android}versionName" in xml.attrib:
|
||||
version = xml.attrib["{http://schemas.android.com/apk/res/android}versionName"].encode('utf-8')
|
||||
base_dir = os.path.dirname(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue