Update regex in isoinfo for FreeCAD and Anthon

This commit is contained in:
Zenithal 2021-02-11 21:50:29 +08:00
parent 5175dd7921
commit 7850791349
No known key found for this signature in database
GPG Key ID: 1189C659F3D04C1C

View File

@ -848,7 +848,7 @@ category = app
distro = FreeCAD
listvers = 3
location = github-release/FreeCAD/FreeCAD/*/*
pattern = FreeCAD[-_]([-\d\.\w]+)-(WIN|Linux|OSX)-([-\w\.]+)\.(exe|7z|AppImage|dmg)(?!.)
pattern = FreeCAD[-_]([-\d\.\w]+)[-_](WIN|Linux|OSX|macOS)-([-\w\.]+)\.(exe|7z|AppImage|dmg)(?!.)
version = FreeCAD $1
platform = $2
type = $3.$4
@ -885,7 +885,7 @@ type = iso
distro = Anthon
listvers = 1
location = anthon/aosc-os/*/*/*
pattern = aosc-os_([^/]+)_(\d+)_(\w+)\.(tar\.xz|img)(?!.)
pattern = aosc-os_([^/]+)_([\d\.]+)_(\w+)\.(tar\.xz|img)(?!.)
version = $2
type = $1
platform = $3