Define and associate .pyromod filetype with pyrogenesis on Linux and Windows.

The new pyrogenesis.xml file should go under
`$XDG_DATA_DIRS/mime/packages/` before running update-mime-database (see
https://www.freedesktop.org/wiki/Specifications/AddingMIMETutor/ for
more information).

Patch by s0600204 and myself.

This was SVN commit r21723.
This commit is contained in:
Itms
2018-04-15 00:25:52 +00:00
parent 5094c05c6a
commit 943a61e4ea
6 changed files with 220 additions and 8 deletions
+3
View File
@@ -76,4 +76,7 @@
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
<mimetypes>
<mimetype>application/x-pyromod+zip</mimetype>
</mimetypes>
</application>
+1
View File
@@ -4,6 +4,7 @@ Name=0 A.D.
Exec=0ad
Icon=0ad
Terminal=false
MimeType=application/x-pyromod+zip;
Type=Application
Categories=Game;StrategyGame;
Comment=A real-time strategy game of ancient warfare
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-pyromod+zip">
<comment>Pyrogenesis Modfile</comment>
<sub-class-of type="application/zip"/>
<generic-icon name="package-x-generic"/>
<glob pattern="*.pyromod"/>
</mime-type>
</mime-info>