Add weight to all linux MIME types, and make everything 50
This makes packaging scripts that have to modify the weights easier to write. Also reduce the magic priority to 50 from 100 so everything is the same priority/weight.
This commit is contained in:
parent
7c83a4a072
commit
c0b27a2800
|
@ -3,7 +3,7 @@
|
||||||
<mime-type type="application/x-gerber">
|
<mime-type type="application/x-gerber">
|
||||||
<sub-class-of type="text/plain"/>
|
<sub-class-of type="text/plain"/>
|
||||||
<comment>Gerber file</comment>
|
<comment>Gerber file</comment>
|
||||||
<glob pattern="*.gbr"/>
|
<glob pattern="*.gbr" weight="50"/>
|
||||||
<!--Try to match with some common opening commands-->
|
<!--Try to match with some common opening commands-->
|
||||||
<magic priority="50">
|
<magic priority="50">
|
||||||
<!--A comment line-->
|
<!--A comment line-->
|
||||||
|
@ -19,12 +19,12 @@
|
||||||
<mime-type type="application/x-gerber-job">
|
<mime-type type="application/x-gerber-job">
|
||||||
<sub-class-of type="text/plain"/>
|
<sub-class-of type="text/plain"/>
|
||||||
<comment>Gerber job file</comment>
|
<comment>Gerber job file</comment>
|
||||||
<glob pattern="*.gbrjob"/>
|
<glob pattern="*.gbrjob" weight="50"/>
|
||||||
</mime-type>
|
</mime-type>
|
||||||
<mime-type type="application/x-excellon">
|
<mime-type type="application/x-excellon">
|
||||||
<sub-class-of type="text/plain"/>
|
<sub-class-of type="text/plain"/>
|
||||||
<comment>Excellon drill file</comment>
|
<comment>Excellon drill file</comment>
|
||||||
<glob pattern="*.drl"/>
|
<glob pattern="*.drl" weight="50"/>
|
||||||
<magic priority="50">
|
<magic priority="50">
|
||||||
<!--This is always the header for an excellon drill file-->
|
<!--This is always the header for an excellon drill file-->
|
||||||
<match type="string" offset="0" value="M48"/>
|
<match type="string" offset="0" value="M48"/>
|
||||||
|
|
|
@ -4,16 +4,16 @@
|
||||||
<sub-class-of type="text/plain"/>
|
<sub-class-of type="text/plain"/>
|
||||||
<comment>KiCad Project</comment>
|
<comment>KiCad Project</comment>
|
||||||
<generic-icon name="application-x-kicad-project"/>
|
<generic-icon name="application-x-kicad-project"/>
|
||||||
<glob pattern="*.pro"/>
|
<glob pattern="*.pro" weight="50"/>
|
||||||
<glob pattern="*.kicad_pro"/>
|
<glob pattern="*.kicad_pro" weight="50"/>
|
||||||
</mime-type>
|
</mime-type>
|
||||||
<mime-type type="application/x-kicad-schematic">
|
<mime-type type="application/x-kicad-schematic">
|
||||||
<sub-class-of type="text/plain"/>
|
<sub-class-of type="text/plain"/>
|
||||||
<comment>KiCad Schematic</comment>
|
<comment>KiCad Schematic</comment>
|
||||||
<generic-icon name="application-x-kicad-schematic"/>
|
<generic-icon name="application-x-kicad-schematic"/>
|
||||||
<glob pattern="*.sch"/>
|
<glob pattern="*.sch" weight="50"/>
|
||||||
<glob pattern="*.kicad_sch"/>
|
<glob pattern="*.kicad_sch" weight="50"/>
|
||||||
<magic priority="100">
|
<magic priority="50">
|
||||||
<!--The new schematic file (.kicad_sch) header-->
|
<!--The new schematic file (.kicad_sch) header-->
|
||||||
<match type="string" offset="0" value="(kicad_sch"/>
|
<match type="string" offset="0" value="(kicad_sch"/>
|
||||||
<!--The old schematic file (.sch) header-->
|
<!--The old schematic file (.sch) header-->
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
<sub-class-of type="text/plain"/>
|
<sub-class-of type="text/plain"/>
|
||||||
<comment>KiCad Printed Circuit Board</comment>
|
<comment>KiCad Printed Circuit Board</comment>
|
||||||
<generic-icon name="application-x-kicad-pcb"/>
|
<generic-icon name="application-x-kicad-pcb"/>
|
||||||
<glob pattern="*.kicad_pcb"/>
|
<glob pattern="*.kicad_pcb" weight="50"/>
|
||||||
<magic priority="100">
|
<magic priority="50">
|
||||||
<!--The new board file (.kicad_pcb) header-->
|
<!--The new board file (.kicad_pcb) header-->
|
||||||
<match type="string" offset="0" value="(kicad_pcb"/>
|
<match type="string" offset="0" value="(kicad_pcb"/>
|
||||||
<!--The old board file (.brd) header-->
|
<!--The old board file (.brd) header-->
|
||||||
|
|
Loading…
Reference in New Issue