register Linux MIME type to directly load replays
This commit is contained in:
11
packaging/linux/openra-mimeinfo.xml
Normal file
11
packaging/linux/openra-mimeinfo.xml
Normal 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>
|
||||
12
packaging/linux/openra-replays.desktop
Executable file
12
packaging/linux/openra-replays.desktop
Executable 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;
|
||||
Reference in New Issue
Block a user