From 8def4fc6da8f4565012b359416f2cc8a2ea7b86c Mon Sep 17 00:00:00 2001 From: Binbin Qian Date: Tue, 15 Aug 2023 12:20:25 +0800 Subject: [PATCH] Improve regex for vlc-macosx, fix https://github.com/tuna/issues/issues/1791 --- geninfo/genisolist.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/geninfo/genisolist.ini b/geninfo/genisolist.ini index ca84e57..87fd5fb 100644 --- a/geninfo/genisolist.ini +++ b/geninfo/genisolist.ini @@ -862,9 +862,9 @@ category = app distro = VLC listvers = 1 location = videolan-ftp/vlc/*/*/* -pattern = vlc/([\d\.]+)/macosx/.+\d\.(dmg|exe|msi|7z)(?!.) -platform = macosx -type = $2 +pattern = vlc/([\d\.]+)/macosx/.+-[\d\.]+-(.+)\.(dmg|exe|msi|7z)(?!.) +platform = macosx/$2 +type = $3 version = $1 category = app