Fix icon validation (flatpak) (#782)

* 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>
This commit is contained in:
Guilherme Silva 2022-08-27 17:12:31 -03:00 committed by GitHub
parent e142522af7
commit 605c1b0afc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -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