diff --git a/CMakeLists.txt b/CMakeLists.txt index e73b17c579..6b0a4cfa2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -163,5 +163,6 @@ install(FILES "resources/logo/icon_x256.png" DESTINATION "${CMAKE_INSTALL_DATARO install(FILES "resources/logo/icon_flag.svg" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps" RENAME "openrct2.svg") install(FILES "distribution/linux/openrct2.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") install(FILES "distribution/linux/openrct2-savegame.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") +install(FILES "distribution/linux/openrct2-scenario.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") install(FILES "distribution/linux/openrct2-mimeinfo.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/mime/packages/" RENAME "openrct2.xml") install(DIRECTORY "distribution/man/" DESTINATION "${CMAKE_INSTALL_MANDIR}/man6" FILES_MATCHING PATTERN "*.6") diff --git a/distribution/linux/openrct2-mimeinfo.xml b/distribution/linux/openrct2-mimeinfo.xml index 0b877fc312..39ad5f4715 100644 --- a/distribution/linux/openrct2-mimeinfo.xml +++ b/distribution/linux/openrct2-mimeinfo.xml @@ -9,4 +9,12 @@ + + + + OpenRCT2 Scenario + + + + diff --git a/distribution/linux/openrct2-scenario.desktop b/distribution/linux/openrct2-scenario.desktop new file mode 100644 index 0000000000..4536557423 --- /dev/null +++ b/distribution/linux/openrct2-scenario.desktop @@ -0,0 +1,10 @@ +# http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html +[Desktop Entry] +Type=Application +Version=1.0 +Exec=openrct2 %f +Icon=openrct2 +Name=OpenRCT2 +Terminal=false +NoDisplay=true +MimeType=application/x-openrct2-scenario;