Update LoadLibrary.java

This commit is contained in:
Andrea Cavalli 2020-11-12 22:38:10 +01:00
parent 5df9ee50b8
commit 1792ba8a60

View File

@ -10,11 +10,11 @@ public class LoadLibrary {
}
private static String getOsName() {
return LoadLibrary.class.getPackageName().split("\\.")[4];
return LoadLibrary.class.getPackage().getName().split("\\.")[4];
}
private static String getArchName() {
return LoadLibrary.class.getPackageName().split("\\.")[5];
return LoadLibrary.class.getPackage().getName().split("\\.")[5];
}
private static String getFileName() {