Commit 4f7ad5ec authored by Albert Astals Cid's avatar Albert Astals Cid Committed by David Faure

Give weight to one of the appimage patterns

we have two patterns with "*.appimage" but none of them
had weight so when deciding which one to pick when not using
data the algorithm described at the spec "fails" because
it says
"Otherwise use the result of the glob match that has the highest weight."
but both had the same.
parent d520f0d6
Pipeline #7631 passed with stage
in 3 minutes and 39 seconds
......@@ -7217,7 +7217,7 @@ command to generate the output files.
</match>
</match>
</magic>
<glob pattern="*.appimage"/>
<glob weight="60" pattern="*.appimage"/>
</mime-type>
<mime-type type="application/vnd.snap">
......
......@@ -501,9 +501,9 @@ disk.raw-disk-image.xz application/x-raw-disk-image-xz-compressed oxo
# Disk 1 of the Agony Amiga game truncated to 1Ko
adf-test.adf application/x-amiga-disk-format
# AppImage
Leafpad-0.8.17-x86_64.AppImage application/x-iso9660-appimage
Leafpad-0.8.17-x86_64.AppImage application/x-iso9660-appimage x
# AppImage (Type 2)
Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage application/vnd.appimage x
Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage application/vnd.appimage
# SAP Thomson disk images
ripoux.sap application/x-thomson-sap-image
# HFE disk images
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment