diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 505f4db..fc5697b 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -54,7 +54,7 @@ -keepattributes Signature # 抛出异常时保留代码行号 --keepattributes SourceFile,LineNumberTable +-keepattributes !SourceFile,LineNumberTable # 指定混淆是采用的算法,后面的参数是一个过滤器 # 这个过滤器是谷歌推荐的算法,一般不做更改 @@ -87,5 +87,4 @@ -dontwarn org.openjsse.net.ssl.OpenJSSE # 模块状态 --keep class io.github.fplus.HookInit extends * { *; } --keep class io.github.fplus.HookStatus extends * { *; } \ No newline at end of file +-keep class io.github.fplus.HookInit \ No newline at end of file diff --git a/core/src/main/java/io/github/fplus/HookInit.kt b/core/src/main/java/io/github/fplus/HookInit.kt index 62227db..6672454 100644 --- a/core/src/main/java/io/github/fplus/HookInit.kt +++ b/core/src/main/java/io/github/fplus/HookInit.kt @@ -6,7 +6,7 @@ import io.github.fplus.core.hook.DouYinMain import io.github.xpler.HookEntrance import io.github.xpler.core.wrapper.ApplicationHookStart -class HookInit : HookEntrance(), ApplicationHookStart { +class HookInit : HookEntrance(), ApplicationHookStart { override val modulePackage: String get() = Constant.modulePackage