1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-20 20:23:03 +02:00

[Linux] add proper desktop entry for the map editor

This commit is contained in:
Andrey Filipenkov 2022-10-22 17:08:55 +03:00
parent b43e0ff9e4
commit 278e6bedeb
3 changed files with 12 additions and 1 deletions

View File

@ -51,6 +51,7 @@
<provides>
<binary>vcmibuilder</binary>
<binary>vcmiclient</binary>
<binary>vcmieditor</binary>
<binary>vcmilauncher</binary>
<binary>vcmiserver</binary>
</provides>

View File

@ -132,5 +132,5 @@ install(TARGETS vcmieditor DESTINATION ${BIN_DIR})
install(DIRECTORY icons DESTINATION ${DATA_DIR}/mapeditor)
# Install icons and desktop file on Linux
if(NOT WIN32 AND NOT APPLE)
install(FILES "vcmilauncher.desktop" DESTINATION share/applications)
install(FILES "vcmieditor.desktop" DESTINATION share/applications)
endif()

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Name=VCMI Map Editor
GenericName=Strategy Game Engine
Comment=Map editor for open engine of Heroes of Might and Magic 3
Icon=vcmiclient
Exec=vcmieditor
Categories=Game;StrategyGame;
Version=1.0
Keywords=heroes;homm3;