diff --git a/build.gradle.kts b/build.gradle.kts index 16f8fb5..d323139 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,12 +2,12 @@ plugins { kotlin("jvm") version "1.7.20" kotlin("plugin.serialization") version "1.7.20" - id("net.mamoe.mirai-console") version "2.13.0-RC" + id("net.mamoe.mirai-console") version "2.13.0-RC2" id("me.him188.maven-central-publish") version "1.0.0-dev-3" } group = "io.github.gnuf0rce" -version = "1.3.4" +version = "1.3.5" mavenCentralPublish { useCentralS01() @@ -26,8 +26,8 @@ repositories { } dependencies { - compileOnly("net.mamoe:mirai-core:2.13.0-RC") - compileOnly("net.mamoe:mirai-core-utils:2.13.0-RC") + compileOnly("net.mamoe:mirai-core:2.13.0-RC2") + compileOnly("net.mamoe:mirai-core-utils:2.13.0-RC2") implementation("io.ktor:ktor-client-okhttp:2.1.2") { exclude(group = "org.jetbrains.kotlin") exclude(group = "org.jetbrains.kotlinx") @@ -46,7 +46,7 @@ dependencies { // Test testImplementation(kotlin("test")) testImplementation("org.slf4j:slf4j-simple:2.0.3") - testImplementation("net.mamoe:mirai-logging-slf4j:2.13.0-RC") + testImplementation("net.mamoe:mirai-logging-slf4j:2.13.0-RC2") } mirai { diff --git a/readme.md b/readme.md index 74225ab..01e05b5 100644 --- a/readme.md +++ b/readme.md @@ -47,6 +47,24 @@ * auto_download_message 自动保存特殊消息内容,比如闪照 * random_image_api 随机图片API by +### 修改协议内容 + +在 `data/io.github.gnuf0rce.debug-helper/` 下新建文本文件 `ANDROID_PHONE.txt` (可根据需要修改的协议名更改文件名) + +填入例如 +```text +com.tencent.mobileqq +537066978 +0.9.15.9425 +6.0.0.2463 +150470524 +66560 +16724722 +A6 B7 45 BF 24 A2 C2 77 52 77 16 F6 F3 6E B6 8D +1640921786 +16 +``` + ## 安装 ### MCL 指令安装 diff --git a/src/main/kotlin/io/github/gnuf0rce/mirai/debug/DebugHelperPlugin.kt b/src/main/kotlin/io/github/gnuf0rce/mirai/debug/DebugHelperPlugin.kt index a5a90c3..963bf4a 100644 --- a/src/main/kotlin/io/github/gnuf0rce/mirai/debug/DebugHelperPlugin.kt +++ b/src/main/kotlin/io/github/gnuf0rce/mirai/debug/DebugHelperPlugin.kt @@ -27,7 +27,7 @@ import java.time.* import java.util.zip.* object DebugHelperPlugin : KotlinPlugin( - JvmPluginDescription(id = "io.github.gnuf0rce.debug-helper", version = "1.3.4") { + JvmPluginDescription(id = "io.github.gnuf0rce.debug-helper", version = "1.3.5") { name("debug-helper") author("cssxsh") }