1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-05 15:05:40 +02:00

Merge pull request #1082 from kambala-decapitator/linux-mapeditor-icon

[Linux] add proper desktop entry for the map editor
This commit is contained in:
Andrii Danylchenko 2022-10-23 11:40:41 +03:00 committed by GitHub
commit a2380ebd37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 17 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,10 @@ 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)
install(FILES "icons/mapeditor.32x32.png" DESTINATION share/icons/hicolor/32x32/apps RENAME vcmieditor.png)
install(FILES "icons/mapeditor.48x48.png" DESTINATION share/icons/hicolor/48x48/apps RENAME vcmieditor.png)
install(FILES "icons/mapeditor.64x64.png" DESTINATION share/icons/hicolor/64x64/apps RENAME vcmieditor.png)
install(FILES "icons/mapeditor.128x128.png" DESTINATION share/icons/hicolor/128x128/apps RENAME vcmieditor.png)
install(FILES "icons/mapeditor.256x256.png" DESTINATION share/icons/hicolor/256x256/apps RENAME vcmieditor.png)
endif()

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

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=vcmieditor
Exec=vcmieditor
Categories=Game;StrategyGame;
Version=1.0
Keywords=heroes;homm3;