mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-06 07:17:26 +00:00
[Change] 调整数据存储的路径设置及存储目录参数名;
This commit is contained in:
@ -34,7 +34,7 @@ public class MiraiMain implements Closeable {
|
||||
return;
|
||||
}
|
||||
|
||||
File botPropFile = new File("./bot.properties");
|
||||
File botPropFile = new File(System.getProperty("cgj.botDataDir"), "./bot.properties");
|
||||
try (Reader reader = new BufferedReader(new FileReader(botPropFile))) {
|
||||
botProperties.load(reader);
|
||||
} catch (IOException e) {
|
||||
|
Reference in New Issue
Block a user