diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index 5f3b34a78..639a4fc7a 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -257,6 +257,8 @@ macro(createPackage) install(FILES ${IMHEX_ICON} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BUNDLE_NAME}/Contents/Resources") install(TARGETS main BUNDLE DESTINATION ".") + install(DIRECTORY "${CMAKE_INSTALL_PREFIX}/imhex.app/" DESTINATION "${CMAKE_INSTALL_PREFIX}/${BUNDLE_NAME}/" OPTIONAL) + # Update library references to make the bundle portable postprocess_bundle(imhex_all main) diff --git a/dist/macOS/arm64.Dockerfile b/dist/macOS/arm64.Dockerfile index 32812b8b8..ce16975b0 100644 --- a/dist/macOS/arm64.Dockerfile +++ b/dist/macOS/arm64.Dockerfile @@ -170,4 +170,4 @@ EOF FROM scratch -COPY --from=build /mnt/ImHex/build/install/imhex.app ImHex.app +COPY --from=build /mnt/ImHex/build/install/ImHex.app ImHex.app