Update version to 3.97 | Support QQ 8.8.95

This commit is contained in:
2022-06-16 02:25:01 +08:00
parent 38c9d78f1e
commit 32d8937ddb
4 changed files with 18 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
[![Blank](https://img.shields.io/badge/build-passing-brightgreen)](https://github.com/fankes/TSBattery)
[![Blank](https://img.shields.io/badge/license-AGPL3.0-blue)](https://github.com/fankes/TSBattery/blob/master/LICENSE)
[![Blank](https://img.shields.io/badge/version-v3.96-green)](https://github.com/fankes/TSBattery/releases)
[![Blank](https://img.shields.io/badge/version-v3.97-green)](https://github.com/fankes/TSBattery/releases)
[![Blank](https://img.shields.io/github/downloads/fankes/TSBattery/total?label=Release)](https://github.com/fankes/TSBattery/releases)
[![Blank](https://img.shields.io/github/downloads/Xposed-Modules-Repo/com.fankes.tsbattery/total?label=LSPosed%20Repo&logo=Android&style=flat&labelColor=F48FB1&logoColor=ffffff)](https://github.com/Xposed-Modules-Repo/com.fankes.tsbattery/releases)
[![Telegram](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/XiaofangInternet)

View File

@@ -134,7 +134,7 @@ class HookEntry : IYukiHookXposedInit {
interceptBaseChatPie(methodName = "bl")
interceptBaseChatPie(methodName = "bm")
}
"8.8.93" -> {
"8.8.93", "8.8.95" -> {
interceptBaseChatPie(methodName = "J3")
interceptBaseChatPie(methodName = "S")
}

View File

@@ -46,8 +46,20 @@ class MainActivity : BaseActivity<ActivityMainBinding>() {
companion object {
private const val moduleVersion = BuildConfig.VERSION_NAME
private const val qqSupportVersion =
"8.2.11(Play)、8.8.17、8.8.23、8.8.35、8.8.38、8.8.50、8.8.55、8.8.68、8.8.80、8.8.83、8.8.85、8.8.88、8.8.90、8.8.93 (8.2.11、8.5.5~8.8.93)"
private val qqSupportVersions = arrayOf(
"8.2.11(Play)", "8.8.17", "8.8.23",
"8.8.35", "8.8.38", "8.8.50",
"8.8.55", "8.8.68", "8.8.80",
"8.8.83", "8.8.85", "8.8.88",
"8.8.90", "8.8.93", "8.8.95"
)
private val qqSupportVersion by lazy {
if (qqSupportVersions.isNotEmpty()) {
var value = ""
qqSupportVersions.forEach { value += "$it" }
"${value.trim().let { it.substring(0, it.lastIndex) }}\n\n其余版本请自行测试是否有效。"
} else "empty"
}
private const val timSupportVersion = "2+、3+ (并未完全测试每个版本)"
private const val wechatSupportVersion = "全版本仅支持基础省电,更多功能依然画饼"

View File

@@ -5,8 +5,8 @@ plugins {
}
ext {
appVersionName = "3.96"
appVersionCode = 19
appVersionName = "3.97"
appVersionCode = 20
enableR8 = true
}