fix bootstrap addon packaging

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

No files matched your search

@@ -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);