< prev index next >
src/jdk.incubator.jpackage/macosx/classes/jdk/incubator/jpackage/internal/MacAppBundler.java
Print this page
*** 100,124 ****
Arguments.CLIOptions.MAC_BUNDLE_SIGNING_PREFIX.getId(),
String.class,
params -> IDENTIFIER.fetchFrom(params) + ".",
(s, p) -> s);
- public static final BundlerParamInfo<File> ICON_ICNS =
- new StandardBundlerParam<>(
- "icon.icns",
- File.class,
- params -> {
- File f = ICON.fetchFrom(params);
- if (f != null && !f.getName().toLowerCase().endsWith(".icns")) {
- Log.error(MessageFormat.format(
- I18N.getString("message.icon-not-icns"), f));
- return null;
- }
- return f;
- },
- (s, p) -> new File(s));
-
public static boolean validCFBundleVersion(String v) {
// CFBundleVersion (String - iOS, OS X) specifies the build version
// number of the bundle, which identifies an iteration (released or
// unreleased) of the bundle. The build version number should be a
// string comprised of three non-negative, period-separated integers
--- 100,109 ----
< prev index next >