1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

Try a better regex match for the versionName

This commit is contained in:
Daniel Martí 2013-07-04 15:55:44 +02:00
parent f44ad6711a
commit bc6e9cd4b4

View File

@ -904,7 +904,7 @@ def fetch_real_name(app_dir):
def parse_androidmanifest(app_dir):
vcsearch = re.compile(r'.*android:versionCode="([0-9]+?)".*').search
vnsearch = re.compile(r'.*android:versionName="([^@]+?)".*').search
vnsearch = re.compile(r'.*android:versionName="([^"]+?)".*').search
psearch = re.compile(r'.*package="([^"]+)".*').search
vnsearch_xml = re.compile(r'.*"(app_|)version">([^<]+?)<.*').search
version = None