mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
fdroidserver/update.py: APK_LABEL_ICON_PAT icon pattern should not be greedy
This commit is contained in:
parent
eec005ed67
commit
ea89b25fd7
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ UNSET_VERSION_CODE = -0x100000000
|
||||||
APK_NAME_PAT = re.compile(".*name='([a-zA-Z0-9._]*)'.*")
|
APK_NAME_PAT = re.compile(".*name='([a-zA-Z0-9._]*)'.*")
|
||||||
APK_VERCODE_PAT = re.compile(".*versionCode='([0-9]*)'.*")
|
APK_VERCODE_PAT = re.compile(".*versionCode='([0-9]*)'.*")
|
||||||
APK_VERNAME_PAT = re.compile(".*versionName='([^']*)'.*")
|
APK_VERNAME_PAT = re.compile(".*versionName='([^']*)'.*")
|
||||||
APK_LABEL_ICON_PAT = re.compile(".*\s+label='(.*)'\s+icon='(.*)'")
|
APK_LABEL_ICON_PAT = re.compile(".*\s+label='(.*)'\s+icon='(.*?)'")
|
||||||
APK_SDK_VERSION_PAT = re.compile(".*'([0-9]*)'.*")
|
APK_SDK_VERSION_PAT = re.compile(".*'([0-9]*)'.*")
|
||||||
APK_PERMISSION_PAT = \
|
APK_PERMISSION_PAT = \
|
||||||
re.compile(".*(name='(?P<name>.*?)')(.*maxSdkVersion='(?P<maxSdkVersion>.*?)')?.*")
|
re.compile(".*(name='(?P<name>.*?)')(.*maxSdkVersion='(?P<maxSdkVersion>.*?)')?.*")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue