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:
commit
a2380ebd37
@ -51,6 +51,7 @@
|
||||
<provides>
|
||||
<binary>vcmibuilder</binary>
|
||||
<binary>vcmiclient</binary>
|
||||
<binary>vcmieditor</binary>
|
||||
<binary>vcmilauncher</binary>
|
||||
<binary>vcmiserver</binary>
|
||||
</provides>
|
||||
|
@ -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()
|
||||
|
BIN
mapeditor/icons/mapeditor.128x128.png
Normal file
BIN
mapeditor/icons/mapeditor.128x128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
BIN
mapeditor/icons/mapeditor.256x256.png
Normal file
BIN
mapeditor/icons/mapeditor.256x256.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
BIN
mapeditor/icons/mapeditor.32x32.png
Normal file
BIN
mapeditor/icons/mapeditor.32x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
BIN
mapeditor/icons/mapeditor.48x48.png
Normal file
BIN
mapeditor/icons/mapeditor.48x48.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
BIN
mapeditor/icons/mapeditor.64x64.png
Normal file
BIN
mapeditor/icons/mapeditor.64x64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
10
mapeditor/vcmieditor.desktop
Normal file
10
mapeditor/vcmieditor.desktop
Normal 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;
|
Loading…
x
Reference in New Issue
Block a user