Browse Source

update linux and windows bwt

bwt
Craig Raw 4 years ago
parent
commit
7bc707bcaa
  1. 4
      src/main/java/com/sparrowwallet/sparrow/net/Bwt.java
  2. BIN
      src/main/resources/native/linux/x64/libbwt_jni.so
  3. BIN
      src/main/resources/native/windows/x64/bwt.dll
  4. BIN
      src/main/resources/native/windows/x64/bwt_jni.dll

4
src/main/java/com/sparrowwallet/sparrow/net/Bwt.java

@ -34,9 +34,9 @@ public class Bwt {
if(platform == org.controlsfx.tools.Platform.OSX) {
NativeUtils.loadLibraryFromJar("/native/osx/x64/libbwt_jni.dylib");
} else if(platform == org.controlsfx.tools.Platform.WINDOWS) {
NativeUtils.loadLibraryFromJar("/native/windows/x64/bwt.dll");
NativeUtils.loadLibraryFromJar("/native/windows/x64/bwt_jni.dll");
} else {
NativeUtils.loadLibraryFromJar("/native/linux/x64/libbwt.so");
NativeUtils.loadLibraryFromJar("/native/linux/x64/libbwt_jni.so");
}
} catch(IOException e) {
log.error("Error loading bwt library", e);

BIN
src/main/resources/native/linux/x64/libbwt.so → src/main/resources/native/linux/x64/libbwt_jni.so

Binary file not shown.

BIN
src/main/resources/native/windows/x64/bwt.dll

Binary file not shown.

BIN
src/main/resources/native/windows/x64/bwt_jni.dll

Binary file not shown.
Loading…
Cancel
Save