< prev index next >

src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxAppImageBuilder.java

Print this page

        

*** 63,74 **** private final Map<String, ? super Object> params; public static final BundlerParamInfo<File> ICON_PNG = new StandardBundlerParam<>( - I18N.getString("param.icon-png.name"), - I18N.getString("param.icon-png.description"), "icon.png", File.class, params -> { File f = ICON.fetchFrom(params); if (f != null && !f.getName().toLowerCase().endsWith(".png")) { --- 63,72 ----
*** 189,201 **** // Copy library to the launcher folder try (InputStream is_lib = getResourceAsStream(LIBRARY_NAME)) { writeEntry(is_lib, root.resolve(LIBRARY_NAME)); } ! // create the secondary launchers, if any List<Map<String, ? super Object>> entryPoints ! = StandardBundlerParam.SECONDARY_LAUNCHERS.fetchFrom(params); for (Map<String, ? super Object> entryPoint : entryPoints) { Map<String, ? super Object> tmp = new HashMap<>(originalParams); tmp.putAll(entryPoint); createLauncherForEntryPoint(tmp, root); } --- 187,199 ---- // Copy library to the launcher folder try (InputStream is_lib = getResourceAsStream(LIBRARY_NAME)) { writeEntry(is_lib, root.resolve(LIBRARY_NAME)); } ! // create the additional launchers, if any List<Map<String, ? super Object>> entryPoints ! = StandardBundlerParam.ADD_LAUNCHERS.fetchFrom(params); for (Map<String, ? super Object> entryPoint : entryPoints) { Map<String, ? super Object> tmp = new HashMap<>(originalParams); tmp.putAll(entryPoint); createLauncherForEntryPoint(tmp, root); }
< prev index next >