Install Linux icon in hicolor instead of pixmaps
hicolor is the preferred location for applications. See https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#directory_layout
This commit is contained in:
parent
e9d1e8c95b
commit
f0fa4a6691
|
@ -317,7 +317,7 @@ if(ENABLE_QT AND UNIX AND NOT APPLE)
|
||||||
install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.desktop"
|
install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.desktop"
|
||||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
|
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
|
||||||
install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.svg"
|
install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.svg"
|
||||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps")
|
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps")
|
||||||
install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.xml"
|
install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.xml"
|
||||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages")
|
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages")
|
||||||
endif()
|
endif()
|
||||||
|
|
Reference in New Issue