From c0a64265e6dc7542f2f846e1344ba98283c33c31 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Fri, 3 Apr 2020 20:24:17 +0200 Subject: [PATCH] Add .desktop file for Linux --- CMakeLists.txt | 2 ++ distribution/linux/openloco.desktop | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 distribution/linux/openloco.desktop diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f43ff69..3077178a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -331,3 +331,5 @@ else () # Dummy target to ease invocation add_custom_target(${PROJECT}-headers-check) endif () + +install(FILES "distribution/linux/openloco.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") diff --git a/distribution/linux/openloco.desktop b/distribution/linux/openloco.desktop new file mode 100644 index 00000000..1791b586 --- /dev/null +++ b/distribution/linux/openloco.desktop @@ -0,0 +1,22 @@ +# http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html +[Desktop Entry] +Type=Application +Version=1.0 +Exec=openloco %u +Icon=openloco +Name=OpenLoco +GenericName=Transport management game +GenericName[nl]=Transportbedrijfsimulator +Comment=Open Source re-implementation of Chris Sawyer's Locomotion. +Comment[ca]=Reimplementació de codi obert del Chris Sawyer's Locomotion. +Comment[cs]=Open Source remake hry Chris Sawyer's Locomotion. +Comment[de]=Quelloffene Neuimplementierung von Chris Sawyer's Locomotion. +Comment[es]=Re-implementación de código abierto de Chris Sawyer's Locomotion. +Comment[fr]=Ré-implémentation libre (Open Source) de Chris Sawyer's Locomotion. +Comment[it]=Versione Open Source di Chris Sawyer's Locomotion. +Comment[nb]=Open Source re-implementasjon av Chris Sawyer's Locomotion. +Comment[nl]=Een opensource-versie van Chris Sawyer's Locomotion. +Comment[pt]=Reimplementação em código aberto do Chris Sawyer's Locomotion. +Comment[ru]=Ремейк с открытым исходным кодом игры Chris Sawyer's Locomotion. +Comment[sv]=Open Source om-implementation av Chris Sawyer's Locomotion. +Categories=Game;Simulation;