We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PRIVATE_FILE
1 parent 3a48dde commit d9eb323Copy full SHA for d9eb323
src/main/java/engineering/swat/watch/impl/mac/NativeLibrary.java
@@ -85,7 +85,7 @@ private static void loadLibrary(String path) {
85
}
86
// in most cases the file is inside of a jar
87
// so we have to copy it out and load that file instead
88
- var localCopy = Files.createTempFile("watch", ".dylib"/* , PRIVATE_FILE*/);
+ var localCopy = Files.createTempFile("watch", ".dylib", PRIVATE_FILE);
89
localCopy.toFile().deleteOnExit();
90
try (var libStream = NativeLibrary.class.getResourceAsStream(path)) {
91
if (libStream != null) {
0 commit comments