- 2.4.1
+ 2.5.0
0.0.1-ALPHA.1
8
diff --git a/pom.xml b/pom.xml
index 77a43dad..13964aff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
love.forte.simple-robot
parent
- 2.4.1
+ 2.5.0
./parent/pom.xml
diff --git a/serialization/json-core/pom.xml b/serialization/json-core/pom.xml
index c62fbcc1..0725fd65 100644
--- a/serialization/json-core/pom.xml
+++ b/serialization/json-core/pom.xml
@@ -5,7 +5,7 @@
serialization-parent
love.forte.simple-robot.serialization
- 2.4.1
+ 2.5.0
../pom.xml
4.0.0
diff --git a/serialization/json-fastjson/pom.xml b/serialization/json-fastjson/pom.xml
index 0c224fa3..dd21e09b 100644
--- a/serialization/json-fastjson/pom.xml
+++ b/serialization/json-fastjson/pom.xml
@@ -5,7 +5,7 @@
serialization-parent
love.forte.simple-robot.serialization
- 2.4.1
+ 2.5.0
../pom.xml
4.0.0
diff --git a/serialization/json-jackson/pom.xml b/serialization/json-jackson/pom.xml
index e968b92a..76a6aced 100644
--- a/serialization/json-jackson/pom.xml
+++ b/serialization/json-jackson/pom.xml
@@ -5,7 +5,7 @@
serialization-parent
love.forte.simple-robot.serialization
- 2.4.1
+ 2.5.0
../pom.xml
4.0.0
diff --git a/serialization/json-moshi/pom.xml b/serialization/json-moshi/pom.xml
index b5ef7ae0..3b36d84a 100644
--- a/serialization/json-moshi/pom.xml
+++ b/serialization/json-moshi/pom.xml
@@ -5,7 +5,7 @@
serialization-parent
love.forte.simple-robot.serialization
- 2.4.1
+ 2.5.0
../pom.xml
4.0.0
diff --git a/serialization/pom.xml b/serialization/pom.xml
index 71c6e59f..3a6476d0 100644
--- a/serialization/pom.xml
+++ b/serialization/pom.xml
@@ -5,7 +5,7 @@
project
love.forte.simple-robot
- 2.4.1
+ 2.5.0
../pom.xml
4.0.0
diff --git a/simbot-x/plugin-core/pom.xml b/simbot-x/plugin-core/pom.xml
index 0c70cb1e..476917d0 100644
--- a/simbot-x/plugin-core/pom.xml
+++ b/simbot-x/plugin-core/pom.xml
@@ -5,7 +5,7 @@
project
love.forte.simple-robot
- 2.4.1
+ 2.5.0
../../pom.xml
4.0.0
diff --git a/spring-boot-starter/component-lovelycat-httpapi-spring-boot-starter/pom.xml b/spring-boot-starter/component-lovelycat-httpapi-spring-boot-starter/pom.xml
index d47eefa9..955412d6 100644
--- a/spring-boot-starter/component-lovelycat-httpapi-spring-boot-starter/pom.xml
+++ b/spring-boot-starter/component-lovelycat-httpapi-spring-boot-starter/pom.xml
@@ -6,7 +6,7 @@
spring-boot-starter
love.forte.simple-robot
- 2.4.1
+ 2.5.0
../pom.xml
4.0.0
diff --git a/spring-boot-starter/component-mirai-spring-boot-starter/pom.xml b/spring-boot-starter/component-mirai-spring-boot-starter/pom.xml
index 2a4e1f35..3af1d4f7 100644
--- a/spring-boot-starter/component-mirai-spring-boot-starter/pom.xml
+++ b/spring-boot-starter/component-mirai-spring-boot-starter/pom.xml
@@ -5,7 +5,7 @@
spring-boot-starter
love.forte.simple-robot
- 2.4.1
+ 2.5.0
../pom.xml
4.0.0
diff --git a/spring-boot-starter/component-mirai-spring-boot-starter/src/main/java/love/forte/simbot/spring/autoconfigure/properties/SimbotCompMiraiConfigurationProperties.java b/spring-boot-starter/component-mirai-spring-boot-starter/src/main/java/love/forte/simbot/spring/autoconfigure/properties/SimbotCompMiraiConfigurationProperties.java
index 9acf4f33..24c79be3 100644
--- a/spring-boot-starter/component-mirai-spring-boot-starter/src/main/java/love/forte/simbot/spring/autoconfigure/properties/SimbotCompMiraiConfigurationProperties.java
+++ b/spring-boot-starter/component-mirai-spring-boot-starter/src/main/java/love/forte/simbot/spring/autoconfigure/properties/SimbotCompMiraiConfigurationProperties.java
@@ -20,7 +20,7 @@
/**
* simbot配置文件对应实例。实际上没有被使用到,仅用作提供springboot的配置文件快捷提醒。
- *
+ *
* 真正使用到的配置类为 {@link love.forte.simbot.component.mirai.configuration.MiraiConfiguration}
*
* @author ForteScarlet
@@ -93,5 +93,11 @@ private static BotConfiguration getDef() {
/**
* mirai设备信息文件路径。
*/
- private String deviceInfoFile = "";
+ private String deviceInfoFile = "device.json";
+
+ /**
+ * 如果为true,则通过 {@link #deviceInfoFile} 的值进行基于文件的随机设备信息配置。
+ * 默认为true
+ */
+ private boolean deviceInfoFileBased = true;
}
diff --git a/spring-boot-starter/core-spring-boot-starter/pom.xml b/spring-boot-starter/core-spring-boot-starter/pom.xml
index 655a9498..6311872a 100644
--- a/spring-boot-starter/core-spring-boot-starter/pom.xml
+++ b/spring-boot-starter/core-spring-boot-starter/pom.xml
@@ -5,7 +5,7 @@
spring-boot-starter
love.forte.simple-robot
- 2.4.1
+ 2.5.0
../pom.xml
4.0.0
diff --git a/spring-boot-starter/pom.xml b/spring-boot-starter/pom.xml
index 773f5061..77466e89 100644
--- a/spring-boot-starter/pom.xml
+++ b/spring-boot-starter/pom.xml
@@ -5,7 +5,7 @@
project
love.forte.simple-robot
- 2.4.1
+ 2.5.0
../pom.xml
4.0.0
diff --git a/time-task/pom.xml b/time-task/pom.xml
index 5e10d290..a61bf12c 100644
--- a/time-task/pom.xml
+++ b/time-task/pom.xml
@@ -5,7 +5,7 @@
project
love.forte.simple-robot
- 2.4.1
+ 2.5.0
4.0.0
diff --git a/time-task/time-task-core/pom.xml b/time-task/time-task-core/pom.xml
index c16ecd90..18d8e823 100644
--- a/time-task/time-task-core/pom.xml
+++ b/time-task/time-task-core/pom.xml
@@ -6,7 +6,7 @@
time-task-parent
love.forte.simple-robot.time-task
- 2.4.1
+ 2.5.0
4.0.0
diff --git a/time-task/time-task-quartz/pom.xml b/time-task/time-task-quartz/pom.xml
index 2c505308..54c6692f 100644
--- a/time-task/time-task-quartz/pom.xml
+++ b/time-task/time-task-quartz/pom.xml
@@ -5,7 +5,7 @@
time-task-parent
love.forte.simple-robot.time-task
- 2.4.1
+ 2.5.0
4.0.0