From 57b5119b330899972a59b1356ab6b92d93459f28 Mon Sep 17 00:00:00 2001 From: MidCoard <2624646185@qq.com> Date: Thu, 28 Mar 2024 00:01:00 +0800 Subject: [PATCH] fix: change FocessUtil to 1.1.20 to fix the TEXT media type problem modify: use Version.BUILD_VERSION instead of new a new one --- README.md | 4 ++-- pom.xml | 4 ++-- src/main/java/top/focess/qq/FocessQQ.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index aa8fa32..5f7cad1 100644 --- a/README.md +++ b/README.md @@ -63,14 +63,14 @@ Maven 依赖 top.focess focess-qq - 4.1.5.4000 + 4.1.5.5000 ``` Gradle 依赖 ```gradle -implementation 'top.focess:focess-qq:4.1.5.4000' +implementation 'top.focess:focess-qq:4.1.5.5000' ``` 开发文档移步本项目[Wiki](https://github.com/MIdCoard/MiraiQQ/wiki) diff --git a/pom.xml b/pom.xml index 4de0c64..9b871b6 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ A simple QQ Bot framework top.focess focess-qq - 4.1.5.4000 + 4.1.5.5000 ossrh @@ -33,7 +33,7 @@ 1.8.20 native-mt 1.3.2 - 1.1.19 + 1.1.20 1.2.4 1.0.2 1.1.0 diff --git a/src/main/java/top/focess/qq/FocessQQ.java b/src/main/java/top/focess/qq/FocessQQ.java index ce5d8bd..a66a73e 100755 --- a/src/main/java/top/focess/qq/FocessQQ.java +++ b/src/main/java/top/focess/qq/FocessQQ.java @@ -95,7 +95,7 @@ public class FocessQQ { properties.load(FocessQQ.class.getResourceAsStream("/default.properties")); version = new Version(properties.getProperty("version")); } catch (final Exception e) { - version = new Version("build"); + version = Version.BUILD_VERSION; } VERSION = version; }