mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
CMake: install .desktop file and icon
This commit is contained in:
parent
4e41851d81
commit
170feaa1b1
2 changed files with 15 additions and 5 deletions
|
@ -316,6 +316,17 @@ if(STACK_TRACE AND CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
|||
target_link_libraries(feather -rdynamic)
|
||||
endif()
|
||||
|
||||
install(TARGETS feather
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}
|
||||
)
|
||||
if(DEPENDS)
|
||||
install(TARGETS feather
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}
|
||||
)
|
||||
else()
|
||||
install(TARGETS feather
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
|
||||
)
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/feather.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/images/appicons/256x256.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/256x256/apps RENAME "feather.png")
|
||||
endif()
|
||||
endif()
|
|
@ -1,12 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Feather
|
||||
Name=Feather Wallet
|
||||
GenericName=Monero Wallet
|
||||
Comment=A free Monero desktop wallet
|
||||
Icon=feather
|
||||
Exec=feather
|
||||
Terminal=false
|
||||
MimeType=x-scheme-handler/monero;
|
||||
Categories=Network;
|
||||
StartupNotify=false
|
||||
StartupWMClass=feather
|
Loading…
Reference in a new issue