CPACK_PRODUCTBUILD_RESOURCES_DIR has no effect
I've been experimenting with the productbuild CPack generator, specifically the CPACK_PRODUCTBUILD_RESOURCES_DIR
variable. It seems that when you set this variable to a directory, that directory's contents are indeed copied to the staging area where the packages are prepared, but because the contents are not added to the distribution.dist
file, they don't seem to make it into the final package. I've looked at the code and my observations seem to line up with what the code is doing, so I'm wondering if this feature ever worked at all. I'd be interested if anyone can provide a minimal working example which shows this variable successfully being used to add custom resources to the installer package (e.g. to add a background image, as the original commit that introduced this feature claims was possible).