fix bootstrap addon packaging

This commit is contained in:
dfsek
2021-11-22 09:02:54 -07:00
parent c29dac9847
commit 1c9724c232
2 changed files with 4 additions and 1 deletions

View File

@@ -150,6 +150,7 @@ public abstract class AbstractPlatform implements Platform {
} catch(IOException e) {
throw new UncheckedIOException(e);
}
logger.debug("Copying resource {}", resourcePath);
try(InputStream is = getClass().getResourceAsStream("/" + resourcePath);
OutputStream os = new FileOutputStream(resource)) {
IOUtils.copy(is, os);