Change the key file path to a relative path

Support QQ 8.8.50
This commit is contained in:
JiZhi
2021-11-20 22:38:12 +08:00
parent b075fd8424
commit 44ea28edda
3 changed files with 7 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ plugins {
android {
signingConfigs {
debug {
storeFile file('/Users/fankes/ProjectPath/AndroidStudioProjects/TSBattery/keystore/public')
storeFile file('../keystore/public')
storePassword '123456'
keyAlias 'public'
keyPassword '123456'

View File

@@ -50,7 +50,7 @@ class MainActivity : AppCompatActivity() {
companion object {
private const val moduleVersion = BuildConfig.VERSION_NAME
private const val moduleSupport = "QQ 8.5.5~8.8.38、TIM 2+"
private const val moduleSupport = "QQ 8.5.5~8.8.50、TIM 2+"
/** 声明当前实例 */
var instance: MainActivity? = null

View File

@@ -92,6 +92,11 @@ class HookMain : IXposedHookLoadPackage {
replaceToNull("activity.aio.core.BaseChatPie", "bi")
replaceToNull("activity.aio.core.BaseChatPie", "bj")
}
// JiZhi适配
"8.8.50" -> {
replaceToNull("activity.aio.core.BaseChatPie", "bj")//remainScreenOn
replaceToNull("activity.aio.core.BaseChatPie", "bk")//cancelRemainScreenOn
}
else -> logD("$version not supported!")
}
}