< prev index next >
src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxAppImageBuilder.java
Print this page
@@ -63,12 +63,10 @@
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")) {
@@ -189,13 +187,13 @@
// 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
+ // create the additional launchers, if any
List<Map<String, ? super Object>> entryPoints
- = StandardBundlerParam.SECONDARY_LAUNCHERS.fetchFrom(params);
+ = 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 >