mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 09:38:19 +00:00
add .desktop and ico installation
This commit is contained in:
parent
dc4111da12
commit
bd1f6be080
|
@ -1415,6 +1415,10 @@ if(NOT DEV)
|
|||
install(TARGETS ${TARGET_CLIENT} DESTINATION bin COMPONENT client)
|
||||
install(TARGETS ${TARGET_SERVER} DESTINATION bin COMPONENT server)
|
||||
install(TARGETS ${TARGETS_TOOLS} DESTINATION lib/ddnet COMPONENT tools)
|
||||
install(FILES other/ddnet.desktop DESTINATION share/applications COMPONENT client)
|
||||
foreach(SIZE 16 32 48 128 256 512)
|
||||
install(FILES other/icons/DDNet_${SIZE}x${SIZE}x32.png DESTINATION share/icons/hicolor/${SIZE}x${SIZE}/apps RENAME ddnet.png COMPONENT client)
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
if(DEV)
|
||||
|
|
11
other/ddnet.desktop
Normal file
11
other/ddnet.desktop
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=DDNet
|
||||
GenericName=Platform Game
|
||||
Exec=DDNet %u
|
||||
Icon=ddnet
|
||||
Terminal=false
|
||||
Keywords=game;multiplayer;
|
||||
Categories=Game;ArcadeGame;
|
||||
MimeType=x-scheme-handler/ddnet;
|
||||
Comment=Launch DDNet
|
BIN
other/icons/DDNet_128x128x32.png
Normal file
BIN
other/icons/DDNet_128x128x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
BIN
other/icons/DDNet_16x16x32.png
Normal file
BIN
other/icons/DDNet_16x16x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 KiB |
BIN
other/icons/DDNet_256x256x32.png
Normal file
BIN
other/icons/DDNet_256x256x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
BIN
other/icons/DDNet_32x32x32.png
Normal file
BIN
other/icons/DDNet_32x32x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
other/icons/DDNet_48x48x32.png
Normal file
BIN
other/icons/DDNet_48x48x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5 KiB |
BIN
other/icons/DDNet_512x512x32.png
Normal file
BIN
other/icons/DDNet_512x512x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 95 KiB |
Loading…
Reference in a new issue