Working install files

master
Melroy van den Berg 2021-02-28 23:47:21 +01:00
parent 742a59c04f
commit 3f0b962c11
5 changed files with 10 additions and 11 deletions

View File

@ -26,9 +26,8 @@ add_subdirectory (lib/commonmarker/extensions)
add_subdirectory (lib/ipfs-http-client)
add_subdirectory (src)
# Add desktop/images files
install(FILES misc/browser.desktop DESTINATION share/applications)
#install(FILES misc/browser.png DESTINATION share/icons/hicolor/48x48/apps)
#install(FILES misc/browser.svg DESTINATION share/icons/hicolor/scalable/apps)
#install(DIRECTORY images DESTINATION share/browser)
# Additional install files
install(FILES misc/dweb-browser.desktop DESTINATION share/applications)
install(DIRECTORY images DESTINATION share/dweb-browser)
install(FILES images/icons/dweb-browser.png DESTINATION share/icons/hicolor/48x48/apps)
install(FILES images/icons/dweb-browser.svg DESTINATION share/icons/hicolor/scalable/apps)

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 157 KiB

View File

@ -5,6 +5,6 @@ Exec=/usr/bin/browser
Terminal=false
Type=Application
StartupNotify=true
Icon=browser
Icon=dweb-browser
Categories=Network;WebBrowser
Keywords=Browser;Internet;WWW;Decentralized;Web

View File

@ -105,7 +105,3 @@ target_link_directories(${PROJECT_TARGET} PRIVATE
target_link_libraries(${PROJECT_TARGET} PRIVATE LibCommonMarker LibCommonMarkerExtensions ipfs-http-client Threads::Threads ${CXX_FILESYSTEM_LIBRARIES} ${GTKMM_LIBRARIES} ${CAIRO_LIBRARIES} nlohmann_json::nlohmann_json)
install(TARGETS ${PROJECT_TARGET} RUNTIME DESTINATION "bin" COMPONENT applications)
install(FILES misc/dweb-browser.desktop DESTINATION share/applications)
install(DIRECTORY images DESTINATION share/dweb-browser)
#install(FILES images/dweb-browser.png DESTINATION share/icons/hicolor/48x48/apps)
#install(FILES images/dweb-browser.svg DESTINATION share/icons/hicolor/scalable/apps)