mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 23:23:27 +02:00
Try a better regex match for the versionName
This commit is contained in:
parent
f44ad6711a
commit
bc6e9cd4b4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user