equal
deleted
inserted
replaced
167 |
167 |
168 private void copyIcon(Map<String, ? super Object> params) |
168 private void copyIcon(Map<String, ? super Object> params) |
169 throws IOException { |
169 throws IOException { |
170 |
170 |
171 Path iconTarget = appLayout.destktopIntegrationDirectory().resolve( |
171 Path iconTarget = appLayout.destktopIntegrationDirectory().resolve( |
172 APP_NAME.fetchFrom(params) + ".png"); |
172 APP_NAME.fetchFrom(params) + IOUtils.getSuffix(Path.of( |
|
173 DEFAULT_ICON))); |
173 |
174 |
174 createResource(DEFAULT_ICON, params) |
175 createResource(DEFAULT_ICON, params) |
175 .setCategory("icon") |
176 .setCategory("icon") |
176 .setExternal(ICON_PNG.fetchFrom(params)) |
177 .setExternal(ICON_PNG.fetchFrom(params)) |
177 .saveToFile(iconTarget); |
178 .saveToFile(iconTarget); |