Currently, the macOS installer will not trigger the postinstall script because it is just a single pkg file, not a productbuild. This PR aims to fix the issue of the postinstall script not running on macOS by converting it to a productbuild pkg file.
Fixes Issues
Closes #
Closes #
Self Checklist
[ ] Added relevant comments, esp in complex areas
[ ] Updated docs (for bug fixes / features)
[ ] Created issues for follow-up changes or refactoring needed
Describe Your Changes
Currently, the macOS installer will not trigger the postinstall script because it is just a single pkg file, not a productbuild. This PR aims to fix the issue of the postinstall script not running on macOS by converting it to a productbuild pkg file.
Fixes Issues
Self Checklist