mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
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:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user