diff --git a/CMakeLists.txt b/CMakeLists.txt index 268380dc2..9a69d3bbf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -569,7 +569,7 @@ elseif (SLIC3R_FHS) # CMAKE_INSTALL_FULL_DATAROOTDIR: read-only architecture-independent data root (share) set(SLIC3R_FHS_RESOURCES "${CMAKE_INSTALL_FULL_DATAROOTDIR}/PrusaSlicer") install(DIRECTORY ${SLIC3R_RESOURCES_DIR}/ DESTINATION ${SLIC3R_FHS_RESOURCES} - PATTERN "*/data" EXCLUDE PATTERN "*/udev" EXCLUDE + PATTERN "*/udev" EXCLUDE ) install(FILES src/platform/unix/PrusaSlicer.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications) install(FILES src/platform/unix/PrusaGcodeviewer.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications) diff --git a/resources/data/flatpak/com.prusa3d.PrusaSlicer.desktop b/src/platform/unix/flatpak/com.prusa3d.PrusaSlicer.desktop similarity index 100% rename from resources/data/flatpak/com.prusa3d.PrusaSlicer.desktop rename to src/platform/unix/flatpak/com.prusa3d.PrusaSlicer.desktop diff --git a/resources/data/flatpak/com.prusa3d.PrusaSlicer.metainfo.xml b/src/platform/unix/flatpak/com.prusa3d.PrusaSlicer.metainfo.xml similarity index 100% rename from resources/data/flatpak/com.prusa3d.PrusaSlicer.metainfo.xml rename to src/platform/unix/flatpak/com.prusa3d.PrusaSlicer.metainfo.xml