Merge pull request #7934 from Mailaender/mime-join

Registered the openra:// protocol to join games on Linux
This commit is contained in:
Pavel Penev
2015-05-23 22:39:17 +03:00
5 changed files with 37 additions and 4 deletions

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.URI=%U
Terminal=false
NoDisplay=true
Categories=Game;StrategyGame;
MimeType=x-scheme-handler/openra;

View File

@@ -8,4 +8,11 @@
<glob weight="60" pattern="*.orarep"/>
</mime-type>
<mime-type type="x-scheme-handler/openra">
<icon name="openra" />
<generic-icon name="applications-games"/>
<comment>OpenRA connect to server scheme</comment>
<glob weight="60" pattern="openra://*"/>
</mime-type>
</mime-info>