summaryrefslogtreecommitdiff
path: root/misc/dist/linux
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2018-07-28 00:39:13 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2018-07-28 00:40:05 +0200
commit01914ee00b2ccb638f697305b094f030088f8716 (patch)
tree2ce4e98853184370e08bf242298d129b851644e8 /misc/dist/linux
parentaecc3a444b122efd1001b25893ea7622918e2e22 (diff)
Tweak AppStream metadata and add MIME type integration
This allows Godot to be registered as an application to open Godot project files.
Diffstat (limited to 'misc/dist/linux')
-rw-r--r--misc/dist/linux/org.godotengine.Godot.appdata.xml6
-rw-r--r--misc/dist/linux/org.godotengine.Godot.desktop3
-rw-r--r--misc/dist/linux/org.godotengine.Godot.xml8
3 files changed, 11 insertions, 6 deletions
diff --git a/misc/dist/linux/org.godotengine.Godot.appdata.xml b/misc/dist/linux/org.godotengine.Godot.appdata.xml
index 8278f1f6f5..9f3f9e34af 100644
--- a/misc/dist/linux/org.godotengine.Godot.appdata.xml
+++ b/misc/dist/linux/org.godotengine.Godot.appdata.xml
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2017-2018 Rémi Verschelde <akien@godotengine.org> -->
<component type="desktop">
- <id>org.godotengine.Godot.desktop</id>
+ <id>org.godotengine.Godot</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<name>Godot Engine</name>
<summary>Multi-platform 2D and 3D game engine with a feature-rich editor</summary>
- <icon type="remote">https://raw.githubusercontent.com/godotengine/godot/master/icon.png</icon>
​<launchable type="desktop-id">org.godotengine.Godot.desktop</launchable>
<description>
<p>
@@ -26,9 +25,6 @@
<image>https://download.tuxfamily.org/godotengine/media/screenshots/editor_3d_fracteed-720p.jpg</image>
</screenshot>
</screenshots>
- <categories>
- <category>Development</category>
- </categories>
<url type="homepage">https://godotengine.org</url>
<url type="bugtracker">https://github.com/godotengine/godot/issues</url>
<url type="faq">http://docs.godotengine.org/en/latest/about/faq.html</url>
diff --git a/misc/dist/linux/org.godotengine.Godot.desktop b/misc/dist/linux/org.godotengine.Godot.desktop
index 439b1d87b8..c8b99207f8 100644
--- a/misc/dist/linux/org.godotengine.Godot.desktop
+++ b/misc/dist/linux/org.godotengine.Godot.desktop
@@ -2,8 +2,9 @@
Name=Godot Engine
GenericName=Libre game engine
Comment=Multi-platform 2D and 3D game engine with a feature-rich editor
-Exec=godot -p
+Exec=godot %f
Icon=godot
Terminal=false
Type=Application
+MimeType=application/x-godot-project;
Categories=Development;IDE;
diff --git a/misc/dist/linux/org.godotengine.Godot.xml b/misc/dist/linux/org.godotengine.Godot.xml
new file mode 100644
index 0000000000..0572e4e54e
--- /dev/null
+++ b/misc/dist/linux/org.godotengine.Godot.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+ <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/x-godot-project">
+ <comment>Godot Engine project</comment>
+ <icon name="godot" />
+ <glob pattern="*.godot" weight="100" />
+ </mime-type>
+</mime-info>