diff --git a/CHANGELOG.md b/CHANGELOG.md index d81404c8..46ce6336 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.116.1 - Aug 9, 2023 + +Fixed: + +- Broken shared library unpacking #54 #56 + # 0.116.0 - Aug 8, 2023 Fixed: diff --git a/shared/java/impl/Library.java b/shared/java/impl/Library.java index 00b69d95..dd625e25 100644 --- a/shared/java/impl/Library.java +++ b/shared/java/impl/Library.java @@ -172,7 +172,7 @@ public static File _extract(ResourceFinder finder, String resourcePath, String f } File fileTmp = File.createTempFile(fileName, "tmp", tempDir); Log.debug("Extracting " + fileName + " to " + file + " via " + fileTmp); - Files.copy(is, fileTmp.toPath()); + Files.copy(is, fileTmp.toPath(), StandardCopyOption.REPLACE_EXISTING); Files.move(fileTmp.toPath(), file.toPath(), StandardCopyOption.ATOMIC_MOVE, StandardCopyOption.REPLACE_EXISTING); } }