< prev index next >
src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppStoreBundler.java
Print this page
*** 52,63 ****
private final static String DEFAULT_INHERIT_ENTITLEMENTS =
"MacAppStore_Inherit.entitlements";
public static final BundlerParamInfo<String> MAC_APP_STORE_APP_SIGNING_KEY =
new StandardBundlerParam<>(
- I18N.getString("param.signing-key-app.name"),
- I18N.getString("param.signing-key-app.description"),
"mac.signing-key-app",
String.class,
params -> {
String result = MacBaseInstallerBundler.findKey(
"3rd Party Mac Developer Application: " +
--- 52,61 ----
*** 79,90 ****
},
(s, p) -> s);
public static final BundlerParamInfo<String> MAC_APP_STORE_PKG_SIGNING_KEY =
new StandardBundlerParam<>(
- I18N.getString("param.signing-key-pkg.name"),
- I18N.getString("param.signing-key-pkg.description"),
"mac.signing-key-pkg",
String.class,
params -> {
String result = MacBaseInstallerBundler.findKey(
"3rd Party Mac Developer Installer: " +
--- 77,86 ----
*** 107,127 ****
},
(s, p) -> s);
public static final StandardBundlerParam<File> MAC_APP_STORE_ENTITLEMENTS =
new StandardBundlerParam<>(
- I18N.getString("param.mac-app-store-entitlements.name"),
- I18N.getString("param.mac-app-store-entitlements.description"),
Arguments.CLIOptions.MAC_APP_STORE_ENTITLEMENTS.getId(),
File.class,
params -> null,
(s, p) -> new File(s));
public static final BundlerParamInfo<String> INSTALLER_SUFFIX =
new StandardBundlerParam<> (
- I18N.getString("param.installer-suffix.name"),
- I18N.getString("param.installer-suffix.description"),
"mac.app-store.installerName.suffix",
String.class,
params -> "-MacAppStore",
(s, p) -> s);
--- 103,119 ----
*** 144,154 ****
// first, load in some overrides
// icns needs @2 versions, so load in the @2 default
p.put(DEFAULT_ICNS_ICON.getID(), TEMPLATE_BUNDLE_ICON_HIDPI);
// now we create the app
! File appImageDir = APP_IMAGE_BUILD_ROOT.fetchFrom(p);
try {
appImageDir.mkdirs();
try {
MacAppImageBuilder.addNewKeychain(p);
--- 136,146 ----
// first, load in some overrides
// icns needs @2 versions, so load in the @2 default
p.put(DEFAULT_ICNS_ICON.getID(), TEMPLATE_BUNDLE_ICON_HIDPI);
// now we create the app
! File appImageDir = APP_IMAGE_TEMP_ROOT.fetchFrom(p);
try {
appImageDir.mkdirs();
try {
MacAppImageBuilder.addNewKeychain(p);
*** 367,375 ****
return bundle(params, outputParentDir);
}
@Override
public boolean supported(boolean runtimeInstaller) {
! return (!runtimeInstaller &&
! Platform.getPlatform() == Platform.MAC);
}
}
--- 359,368 ----
return bundle(params, outputParentDir);
}
@Override
public boolean supported(boolean runtimeInstaller) {
! // return (!runtimeInstaller &&
! // Platform.getPlatform() == Platform.MAC);
! return false; // mac-app-store not yet supported
}
}
< prev index next >