mirror of
https://github.com/fankes/TSBattery.git
synced 2025-09-04 17:55:30 +08:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
81331dfe81
|
|||
20f1ceca4d
|
|||
fc8589f1ee
|
|||
|
67378b2ebf | ||
|
bf4ecd8345 |
@@ -2,7 +2,7 @@
|
||||
|
||||
[](https://github.com/fankes/TSBattery)
|
||||
[](https://github.com/fankes/TSBattery/blob/master/LICENSE)
|
||||
[](https://github.com/fankes/TSBattery/releases)
|
||||
[](https://github.com/fankes/TSBattery/releases)
|
||||
[](https://github.com/fankes/TSBattery/releases)
|
||||
[](https://github.com/Xposed-Modules-Repo/com.fankes.tsbattery/releases)
|
||||
[](https://t.me/XiaofangInternet)
|
||||
|
@@ -145,6 +145,11 @@ class HookEntry : IYukiHookXposedInit {
|
||||
interceptBaseChatPie(methodName = "M3")
|
||||
interceptBaseChatPie(methodName = "S")
|
||||
}
|
||||
/** 8.9.0 贡献者:StarWishsama */
|
||||
"8.9.0", "8.9.1" -> {
|
||||
interceptBaseChatPie(methodName = "N3")
|
||||
interceptBaseChatPie(methodName = "S")
|
||||
}
|
||||
else -> {
|
||||
isHookClientSupport = false
|
||||
loggerD(msg = "$version not supported!")
|
||||
@@ -431,16 +436,8 @@ class HookEntry : IYukiHookXposedInit {
|
||||
hookModuleRunningInfo(isQQ = true)
|
||||
hookQQSettingsSettingActivity(isQQ = true)
|
||||
if (prefs.get(DataConst.ENABLE_QQTIM_WHITE_MODE)) return@loadApp
|
||||
/** 通过在 [SplashActivityClass] 里取到应用的版本号 */
|
||||
SplashActivityClass.hook {
|
||||
injectMember {
|
||||
method {
|
||||
name = "doOnCreate"
|
||||
param(BundleClass)
|
||||
}
|
||||
afterHook { hookQQBaseChatPie(instance<Activity>().versionName) }
|
||||
}
|
||||
}
|
||||
/** 通过在生命周期里取到应用的版本号 */
|
||||
onAppLifecycle { onCreate { hookQQBaseChatPie(versionName) } }
|
||||
/**
|
||||
* 干掉消息收发功能的电源锁
|
||||
* 每个版本的差异暂未做排查
|
||||
@@ -659,4 +656,4 @@ class HookEntry : IYukiHookXposedInit {
|
||||
loggerD(msg = "ウイチャット:それが機能するかどうかはわかりませんでした")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -51,7 +51,7 @@ class MainActivity : BaseActivity<ActivityMainBinding>() {
|
||||
"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",
|
||||
"8.8.98"
|
||||
"8.8.98", "8.9.0", "8.9.1"
|
||||
)
|
||||
private val qqSupportVersion by lazy {
|
||||
if (qqSupportVersions.isNotEmpty()) {
|
||||
|
@@ -5,8 +5,8 @@ plugins {
|
||||
}
|
||||
|
||||
ext {
|
||||
appVersionName = "3.98"
|
||||
appVersionCode = 21
|
||||
appVersionName = "3.99"
|
||||
appVersionCode = 22
|
||||
enableR8 = true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user