Update LoadLibrary.java

This commit is contained in:
Andrea Cavalli 2020-10-29 15:39:01 +01:00
parent d145411aa7
commit 343f70dc59

View File

@ -6,7 +6,7 @@ import java.io.File;
public class LoadLibrary {
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() {