<table><tr><td style="">bruns added a subscriber: bcooksley.<br />bruns added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D20046">View Revision</a></tr></table><br /><div><div><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">hexdump -n 11 -C autotests/samplefiles/test.AppImage
00000000 7f 45 4c 46 02 01 01 00 41 49 02 |.ELF....AI.|</pre></div>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">grep -v comment /usr/share/mime/packages/freedesktop.org.xml | grep -B13 '*\.appimage'
<mime-type type="application/x-iso9660-appimage">
<sub-class-of type="application/x-executable"/>
<sub-class-of type="application/x-iso9660-image"/>
<generic-icon name="application-x-executable"/>
<magic priority="50">
<match value="ELF" type="string" offset="1">
<match value="0x41" type="byte" offset="8">
<match value="0x49" type="byte" offset="9">
<match value="0x01" type="byte" offset="10"/>
</match>
</match>
</match>
</magic>
<glob pattern="*.appimage"/>
--
<mime-type type="application/vnd.appimage">
<sub-class-of type="application/x-executable"/>
<sub-class-of type="application/vnd.squashfs"/>
<generic-icon name="application-x-executable"/>
<magic priority="50">
<match value="ELF" type="string" offset="1">
<match value="0x41" type="byte" offset="8">
<match value="0x49" type="byte" offset="9">
<match value="0x02" type="byte" offset="10"/>
</match>
</match>
</match>
</magic>
<glob pattern="*.appimage"/></pre></div>
<p>so obviously application/vnd.appimage is correct.</p>
<p><a href="https://phabricator.kde.org/p/bcooksley/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@bcooksley</a> <a href="https://phabricator.kde.org/tag/freebsd/" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">#freebsd</a> - the shared mime data on BSD is outdated:<br />
<a href="https://gitlab.freedesktop.org/xdg/shared-mime-info/commit/c643cab25b8a4ea17e73eae5bc318c840f0e3d4b" class="remarkup-link" target="_blank" rel="noreferrer">https://gitlab.freedesktop.org/xdg/shared-mime-info/commit/c643cab25b8a4ea17e73eae5bc318c840f0e3d4b</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R286 KFileMetaData</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20046">https://phabricator.kde.org/D20046</a></div></div><br /><div><strong>To: </strong>bruns, Baloo, Frameworks, astippich, ngraham, poboiko<br /><strong>Cc: </strong>bcooksley, kde-frameworks-devel, gennad, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams<br /></div>