高级算法模块代码调整

This commit is contained in:
2023-08-18 08:48:15 +08:00
parent 86829c206c
commit a85d09c486

View File

@@ -26,7 +26,7 @@ public class JnaCallDllOrSo {
int beginIndex = os != null && os.startsWith("Windows") ? 1 : 0;
if(beginIndex == 0){
//linux操作系统
this.nameDll = "lib"+name+".os";
this.nameDll = "lib"+name+"_dll.os";
this.path = URLDecoder.decode(this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath(), "UTF-8");
}else {
this.nameDll = name+".dll";
@@ -45,8 +45,7 @@ public class JnaCallDllOrSo {
public String getStrpath() {
String aa = this.path+this.nameDll;
String bb= aa.replace("/", File.separator);
return bb;
return aa.replace("/", File.separator);
}
public void setPath() {