src/jdk.jpackager/linux/classes/jdk/jpackager/internal/builders/linux/LinuxAppImageBuilder.java
equal
deleted
inserted
replaced
80 "icon.png", |
80 "icon.png", |
81 File.class, |
81 File.class, |
82 params -> { |
82 params -> { |
83 File f = ICON.fetchFrom(params); |
83 File f = ICON.fetchFrom(params); |
84 if (f != null && !f.getName().toLowerCase().endsWith(".png")) { |
84 if (f != null && !f.getName().toLowerCase().endsWith(".png")) { |
85 Log.info(MessageFormat.format(I18N.getString( |
85 Log.error(MessageFormat.format(I18N.getString( |
86 "message.icon-not-png"), f)); |
86 "message.icon-not-png"), f)); |
87 return null; |
87 return null; |
88 } |
88 } |
89 return f; |
89 return f; |
90 }, |
90 }, |
212 |
212 |
213 // Copy icon to Resources folder |
213 // Copy icon to Resources folder |
214 copyIcon(); |
214 copyIcon(); |
215 |
215 |
216 } catch (IOException ex) { |
216 } catch (IOException ex) { |
217 Log.info("Exception: " + ex); |
217 Log.error("Exception: " + ex); |
218 Log.debug(ex); |
218 Log.debug(ex); |
219 } |
219 } |
220 } |
220 } |
221 |
221 |
222 @Override |
222 @Override |