Summary
Add new jpackage CLI options to enable easily building pkg suitable for the Mac App Store.
Problem
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.
Solution
We will add the following jpackage CLI options:
--mac-app-store
--mac-entitlements entitlements file
--mac-app-category category
Specification
--mac-app-store
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".
- csr of
-
JDK-8248904 Add support to jpackage for the Mac App Store
-
- Closed
-
- relates to
-
JDK-8262375 Document jpackage Mac App Store signing.
-
- Resolved
-