Add new jpackage CLI options to enable easily building pkg suitable for the Mac App Store.
Building a pkg suitable for the Mac App Store requires different certificates, different build commands, and has other different requirements than building a pkg for distribution outside the App Store.
It is therefore required that we add a CLI option to let jpackage know if it is building for APP Store or for external deployment. It is also advisable that we add other CLI options as needed to make App Store deployment a simple process.
We will add the following jpackage CLI options:
--mac-entitlements entitlements file
Indicates that the jpackage output is intended for the Mac App Store.
--mac-entitlements file path
Path to file containing entitlements to use when signing executables and libraries in the bundle.
--mac-app-category category string
String used to construct LSApplicationCategoryType value in the Application plist. The default value is "utilities".