1
0
mirror of synced 2024-11-12 02:00:52 +01:00

build: Fix creating the macOS bundle from within the M1 docker

This commit is contained in:
WerWolv 2024-03-22 23:47:24 +01:00
parent dd20a16d3a
commit d09f2c4f26
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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