Preparing the wrapper package folder structure
This section outlines the folder structure that the wrapper package is built from.
Steps
Result
The folder structure is used as follows:
- wrapper/payload — this becomes the file system content that
pkgbuildwill install onto the target macOS endpoint. - private/tmp/websenseendpoint_install — a temporary staging location. Using /private/tmp keeps the staged files out of the way of any permanent application folders and makes cleanup straightforward.
- wrapper/scripts — holds the postinstall script that
pkgbuildwill embed and run automatically once the payload has been laid down.