Skip to content

Commit

Permalink
0.116.1 Fixed broken shared library unpacking #54 #56
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Aug 9, 2023
1 parent 085e35f commit e557c20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.116.1 - Aug 9, 2023

Fixed:

- Broken shared library unpacking #54 #56

# 0.116.0 - Aug 8, 2023

Fixed:
Expand Down
2 changes: 1 addition & 1 deletion shared/java/impl/Library.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit e557c20

Please sign in to comment.