forked from teamnwah/openmw-tes3coop
Merge pull request #284 from Johnnynator/desktop
[General] Add .desktop file for Server Browser
This commit is contained in:
commit
3ba6a0e000
2 changed files with 15 additions and 0 deletions
|
@ -357,6 +357,8 @@ if (NOT WIN32 AND NOT APPLE)
|
|||
"${OpenMW_BINARY_DIR}/openmw.desktop")
|
||||
configure_file(${OpenMW_SOURCE_DIR}/files/openmw.appdata.xml
|
||||
"${OpenMW_BINARY_DIR}/openmw.appdata.xml")
|
||||
configure_file(${OpenMW_SOURCE_DIR}/files/tes3mp-browser.desktop
|
||||
"${OpenMW_BINARY_DIR}/tes3mp-browser.desktop")
|
||||
configure_file(${OpenMW_SOURCE_DIR}/files/openmw-cs.desktop
|
||||
"${OpenMW_BINARY_DIR}/openmw-cs.desktop")
|
||||
endif()
|
||||
|
@ -437,6 +439,9 @@ IF(NOT WIN32 AND NOT APPLE)
|
|||
INSTALL(FILES "${OpenMW_BINARY_DIR}/openmw.desktop" DESTINATION "${DATAROOTDIR}/applications" COMPONENT "openmw")
|
||||
INSTALL(FILES "${OpenMW_SOURCE_DIR}/files/launcher/images/openmw.png" DESTINATION "${ICONDIR}" COMPONENT "openmw")
|
||||
INSTALL(FILES "${OpenMW_BINARY_DIR}/openmw.appdata.xml" DESTINATION "${DATAROOTDIR}/metainfo" COMPONENT "openmw")
|
||||
IF(BUILD_BROWSER)
|
||||
INSTALL(FILES "${OpenMW_BINARY_DIR}/tes3mp-browser.desktop" DESTINATION "${DATAROOTDIR}/applications" COMPONENT "browser")
|
||||
ENDIF(BUILD_BROWSER)
|
||||
IF(BUILD_OPENCS)
|
||||
INSTALL(FILES "${OpenMW_BINARY_DIR}/openmw-cs.desktop" DESTINATION "${DATAROOTDIR}/applications" COMPONENT "opencs")
|
||||
INSTALL(FILES "${OpenMW_SOURCE_DIR}/files/opencs/openmw-cs.png" DESTINATION "${ICONDIR}" COMPONENT "opencs")
|
||||
|
|
10
files/tes3mp-browser.desktop
Normal file
10
files/tes3mp-browser.desktop
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=TES3MP Server Browser
|
||||
GenericName=Server Browser
|
||||
Comment=Multiplayer extension for TES3.
|
||||
Keywords=Morrowind;Multiplayer;Server Browser;TES;openmw;
|
||||
TryExec=tes3mp-browser
|
||||
Exec=tes3mp-browser
|
||||
Icon=openmw
|
||||
Categories=Game;RolePlaying;
|
Loading…
Reference in a new issue