mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
fix crash
This commit is contained in:
parent
c014e85faa
commit
5cbb695a66
@ -39,7 +39,7 @@ class AntiDetection: IAction {
|
|||||||
if (ShamrockConfig[AntiJvmTrace])
|
if (ShamrockConfig[AntiJvmTrace])
|
||||||
antiTrace()
|
antiTrace()
|
||||||
antiMemoryWalking()
|
antiMemoryWalking()
|
||||||
antiO3Report()
|
//antiO3Report()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun antiO3Report() {
|
private fun antiO3Report() {
|
||||||
|
@ -9,11 +9,13 @@ import qq.service.QQInterfaces
|
|||||||
|
|
||||||
object SwitchStatus: IInteract, QQInterfaces() {
|
object SwitchStatus: IInteract, QQInterfaces() {
|
||||||
override fun invoke(intent: Intent) {
|
override fun invoke(intent: Intent) {
|
||||||
|
if (app.isLogin) {
|
||||||
AppTalker.talk("switch_status") {
|
AppTalker.talk("switch_status") {
|
||||||
put("account", app.currentAccountUin)
|
put("account", app.currentAccountUin)
|
||||||
put("nickname", if (app is QQAppInterface) app.currentNickname else "unknown")
|
put("nickname", if (app is QQAppInterface) (app.currentNickname ?: "unknown") else "unknown")
|
||||||
put("voice", NativeLoader.isVoiceLoaded)
|
put("voice", NativeLoader.isVoiceLoaded)
|
||||||
put("core_version", ShamrockVersion)
|
put("core_version", ShamrockVersion)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user