From 01914ee00b2ccb638f697305b094f030088f8716 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 28 Jul 2018 00:39:13 +0200 Subject: Tweak AppStream metadata and add MIME type integration This allows Godot to be registered as an application to open Godot project files. --- misc/dist/linux/org.godotengine.Godot.appdata.xml | 6 +----- misc/dist/linux/org.godotengine.Godot.desktop | 3 ++- misc/dist/linux/org.godotengine.Godot.xml | 8 ++++++++ 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 misc/dist/linux/org.godotengine.Godot.xml 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 @@ - org.godotengine.Godot.desktop + org.godotengine.Godot CC0-1.0 MIT Godot Engine Multi-platform 2D and 3D game engine with a feature-rich editor - https://raw.githubusercontent.com/godotengine/godot/master/icon.pngorg.godotengine.Godot.desktop

@@ -26,9 +25,6 @@ https://download.tuxfamily.org/godotengine/media/screenshots/editor_3d_fracteed-720p.jpg - - Development - https://godotengine.org https://github.com/godotengine/godot/issues http://docs.godotengine.org/en/latest/about/faq.html 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 @@ + + + + Godot Engine project + + + + -- cgit v1.2.3