Update LoadLibrary.java
This commit is contained in:
parent
d145411aa7
commit
343f70dc59
@ -6,7 +6,7 @@ import java.io.File;
|
|||||||
|
|
||||||
public class LoadLibrary {
|
public class LoadLibrary {
|
||||||
public static InputStream getLibraryAsStream() {
|
public static InputStream getLibraryAsStream() {
|
||||||
return LoadLibrary.class.getResourceAsStream("libs" + File.separatorChar + getOsName() + File.separatorChar + getArchName() + File.separatorChar + getFileName() + getExtension());
|
return LoadLibrary.class.getResourceAsStream(File.separatorChar + "libs" + File.separatorChar + getOsName() + File.separatorChar + getArchName() + File.separatorChar + getFileName() + getExtension());
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String getOsName() {
|
private static String getOsName() {
|
||||||
|
Loading…
Reference in New Issue
Block a user