Skip to content

Commit

Permalink
Fix icon validation (flatpak) (#782)
Browse files Browse the repository at this point in the history
* chore: make the RSS Guard icon match width and height

The XDG spec requires the installed app icon to be a perfect square.

* fix: install the app icon to the 256x256 directory

The dimensions of the icon are not 512x512.

Co-authored-by: guihkx <guihkx@users.noreply.github.com>
  • Loading branch information
guihkx and guihkx authored Aug 27, 2022
1 parent e142522 commit 605c1b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified resources/graphics/rssguard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/rssguard/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ elseif(UNIX AND NOT APPLE AND NOT ANDROID)
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo
)
install(FILES ${CMAKE_SOURCE_DIR}/resources/graphics/${CMAKE_PROJECT_NAME}.png
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/512x512/apps
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/256x256/apps
)
elseif(APPLE)
install(TARGETS app
Expand Down

0 comments on commit 605c1b0

Please sign in to comment.