register Linux MIME type to directly load replays

This commit is contained in:
Matthias Mailänder
2013-12-05 23:21:19 +01:00
parent 37c9caabd8
commit 417b499472
3 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/x-openra-replay">
<icon name="openra" />
<generic-icon name="applications-games"/>
<comment>OpenRA Replay</comment>
<glob weight="60" pattern="*.rep"/>
</mime-type>
</mime-info>

View File

@@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=OpenRA
GenericName=Real Time Strategy Game
Comment=Reimagining of early Westwood Games
Icon=openra
Exec=openra Launch.Replay=%f
Terminal=false
NoDisplay=true
Categories=Game;StrategyGame;
MimeType=application/x-openra-replay;