mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
CMake: install .desktop file and icon
This commit is contained in:
+14
-3
@@ -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
|
||||
Reference in New Issue
Block a user