mirror of
https://github.com/Xtao-Labs/fuck_huaya.git
synced 2024-11-24 22:43:36 +00:00
去除青少年弹窗
This commit is contained in:
parent
49d0deb256
commit
97fa25a5aa
@ -72,6 +72,17 @@ object HuayaHooker : YukiBaseHooker() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private fun fuckTeen() {
|
||||||
|
findClass("cn.fzhuayantcoltd.huayaapp.util.x", appClassLoader).hook {
|
||||||
|
injectMember {
|
||||||
|
method {
|
||||||
|
name = "o"
|
||||||
|
}
|
||||||
|
replaceToTrue()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
override fun onHook() {
|
override fun onHook() {
|
||||||
"com.stub.StubApp".hook {
|
"com.stub.StubApp".hook {
|
||||||
injectMember {
|
injectMember {
|
||||||
@ -90,6 +101,8 @@ object HuayaHooker : YukiBaseHooker() {
|
|||||||
fuckSignInRewardAd()
|
fuckSignInRewardAd()
|
||||||
// 取消更新弹窗
|
// 取消更新弹窗
|
||||||
fuckUpdate()
|
fuckUpdate()
|
||||||
|
// 取消青少年模式弹窗
|
||||||
|
fuckTeen()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'com.android.application' version '7.3.0' apply false
|
id 'com.android.application' version '7.4.0' apply false
|
||||||
id 'com.android.library' version '7.3.0' apply false
|
id 'com.android.library' version '7.4.0' apply false
|
||||||
id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
|
id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user