Skip to content

Commit

Permalink
Update files
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobDev committed Jan 3, 2024
1 parent a70f7ea commit 4aff937
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ if(MINGW)
endif()

# Subprojects
add_subdirectory (libs)
add_subdirectory (libs EXCLUDE_FROM_ALL)
add_subdirectory (app)
14 changes: 8 additions & 6 deletions app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ if (APPLE)
set_target_properties(DeltaPatcher PROPERTIES MACOSX_BUNDLE TRUE MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/mac_stuff/Info.plist)
endif()

install(TARGETS DeltaPatcher DESTINATION bin)
install(FILES linux_stuff/io.github.marco_calautti.DeltaPatcher.desktop DESTINATION share/applications)
install(FILES linux_stuff/io.github.marco_calautti.DeltaPatcher.metainfo.xml DESTINATION share/metainfo)
if(UNIX AND NOT APPLE)
install(TARGETS DeltaPatcher DESTINATION bin)
install(FILES linux_stuff/io.github.marco_calautti.DeltaPatcher.desktop DESTINATION share/applications)
install(FILES linux_stuff/io.github.marco_calautti.DeltaPatcher.metainfo.xml DESTINATION share/metainfo)

foreach(SIZE "16" "24" "32" "48" "64" "128" "256")
install(FILES ../graphics/icon${SIZE}.png DESTINATION share/icons/hicolor/${SIZE}x${SIZE}/apps RENAME io.github.marco_calautti.DeltaPatcher.png)
endforeach()
foreach(SIZE "16" "24" "32" "48" "64" "128" "256")
install(FILES ../graphics/icon${SIZE}.png DESTINATION share/icons/hicolor/${SIZE}x${SIZE}/apps RENAME io.github.marco_calautti.DeltaPatcher.png)
endforeach()
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<project_license>GPL-2.0</project_license>
<description>
<p>Delta Patcher is a GUI software that is able to create and apply xdelta patches as the ones supported by the xdelta tool developed by Joshua McDonald.</p>
</description>
<screenshots>
<screenshot type="default">
<image type="source">https://camo.githubusercontent.com/1ae80fce5add0b471914e86302cf9cfd2c27475870cc77f0094fe27e2a281860/68747470733a2f2f692e696d6775722e636f6d2f64516d547573782e706e67</image>
Expand Down

0 comments on commit 4aff937

Please sign in to comment.