mirror of
https://gitee.com/BDWare/agent-backend
synced 2025-04-27 14:42:16 +00:00
sync versions
This commit is contained in:
parent
1dc3790784
commit
ca8afb8333
@ -87,8 +87,14 @@ public class GlobalConf {
|
||||
dbName,
|
||||
"ADSPDir",
|
||||
new File("./BDWareProjectDir/ADSPDir/").getAbsolutePath());
|
||||
KeyValueDBUtil.instance.setValue(
|
||||
dbName, "yjsPath", new File("./yjs.jar").getAbsolutePath());
|
||||
File f = new File("./yjs.jar");
|
||||
if (f.exists()) {
|
||||
KeyValueDBUtil.instance.setValue(
|
||||
dbName, "yjsPath", new File("./yjs.jar").getAbsolutePath());
|
||||
}else {
|
||||
KeyValueDBUtil.instance.setValue(
|
||||
dbName, "yjsPath", new File("./cp/yjs.jar").getAbsolutePath());
|
||||
}
|
||||
conf.keyPairStr = SM2Util.generateSM2KeyPair().toJson();
|
||||
|
||||
LOGGER.debug("getting keyPairStr " + conf.keyPairStr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user