Skip to content

Commit

Permalink
Linux build add 128x128 icon (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Aug 20, 2017
1 parent cee0e0e commit 9d733bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@ INSTALL(FILES
IF(UNIX AND NOT APPLE AND NOT BEOS AND NOT HAIKU)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/cdogs-sdl.desktop DESTINATION ${INSTALL_PREFIX}/share/applications)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/cdogs-sdl.appdata.xml DESTINATION ${INSTALL_PREFIX}/share/appdata)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/cdogs-icon.16.png DESTINATION ${INSTALL_PREFIX}/share/icons/hicolor/16x16/apps/cdogs-sdl.png)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/cdogs-icon.22.png DESTINATION ${INSTALL_PREFIX}/share/icons/hicolor/22x22/apps/cdogs-sdl.png)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/cdogs-icon.32.png DESTINATION ${INSTALL_PREFIX}/share/icons/hicolor/32x32/apps/cdogs-sdl.png)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/cdogs-icon.48.png DESTINATION ${INSTALL_PREFIX}/share/icons/hicolor/48x48/apps/cdogs-sdl.png)
foreach(RES 16 22 32 48 128)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/cdogs-icon.${RES}.png
DESTINATION ${INSTALL_PREFIX}/share/icons/hicolor/${RES}x${RES}/apps/cdogs-sdl.png)
endforeach(RES)
elseif(WIN32)
# Package for Windows
FILE(GLOB DLLS "${CMAKE_SOURCE_DIR}/dll/*.dll")
Expand Down
Binary file added build/linux/cdogs-icon.128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions build/linux/cdogs-sdl.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<id>cdogs-sdl.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>C-Dogs</name>
<name>C-Dogs SDL</name>
<summary>Classic overhead run-and-gun game</summary>
<description>
<p>
C-Dogs is an arcade shoot-em-up which lets players work alone and
C-Dogs SDL is an overhead shoot-em-up which lets players work alone and
cooperatively during missions or fight against each other in the
“dogfight” deathmatch mode.
</p>
Expand Down

0 comments on commit 9d733bc

Please sign in to comment.