< prev index next >

src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppStoreBundler.java

Print this page

        

@@ -52,12 +52,10 @@
     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: " +

@@ -79,12 +77,10 @@
                 },
             (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: " +

@@ -107,21 +103,17 @@
                 },
             (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);
 

@@ -144,11 +136,11 @@
         // 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);
+        File appImageDir = APP_IMAGE_TEMP_ROOT.fetchFrom(p);
         try {
             appImageDir.mkdirs();
 
             try {
                 MacAppImageBuilder.addNewKeychain(p);

@@ -367,9 +359,10 @@
         return bundle(params, outputParentDir);
     }
 
     @Override
     public boolean supported(boolean runtimeInstaller) {
-        return (!runtimeInstaller &&
-                Platform.getPlatform() == Platform.MAC);
+        // return (!runtimeInstaller &&
+        //         Platform.getPlatform() == Platform.MAC);
+        return false; // mac-app-store not yet supported
     }
 }
< prev index next >