share/hedgewars/Data/misc/hedgewars-mimeinfo.xml
author nemo
Mon, 01 Nov 2010 17:12:32 -0400
changeset 4083 830d1f4eb517
child 4091 f89b8d0afbe1
permissions -rw-r--r--
Add a misc folder to contain some files for attempting a local registration of hwengine against hedgewars demo and save files on request. Still needs the addition of the frontend code to mkdir -p in .local, copy the files, call update-mime-info and such

<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
  <mime-type type="application/x-hedgewars-demo">
    <comment>Hedgewars Demo</comment>
    <comment xml:lang="fr">Hedgewars Démonstration</comment>
    <magic priority="50">
      <match required="yes" type="byte" offset="0" value="2"/>
      <match required="yes" type="big16" offset="1" value="21572"/>
    </magic>
    <glob weight="60" pattern="*.hwd"/>
  </mime-type>
  <mime-type type="application/x-hedgewars-save">
    <comment>Hedgewars Save</comment>
    <magic priority="50">
      <match required="yes" type="byte" offset="0" value="2"/>
      <match required="yes" type="big16" offset="1" value="21587"/>
    </magic>
    <glob weight="60" pattern="*.hws"/>
  </mime-type>
</mime-info>