Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
GangJust committed May 31, 2024
1 parent 49d7e0a commit 37f1502
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
-keepattributes Signature

# 抛出异常时保留代码行号
-keepattributes SourceFile,LineNumberTable
-keepattributes !SourceFile,LineNumberTable

# 指定混淆是采用的算法,后面的参数是一个过滤器
# 这个过滤器是谷歌推荐的算法,一般不做更改
Expand Down Expand Up @@ -87,5 +87,4 @@
-dontwarn org.openjsse.net.ssl.OpenJSSE

# 模块状态
-keep class io.github.fplus.HookInit extends * { *; }
-keep class io.github.fplus.HookStatus extends * { *; }
-keep class io.github.fplus.HookInit
2 changes: 1 addition & 1 deletion core/src/main/java/io/github/fplus/HookInit.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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<HookInit>(), ApplicationHookStart {
class HookInit : HookEntrance(), ApplicationHookStart {
override val modulePackage: String
get() = Constant.modulePackage

Expand Down

0 comments on commit 37f1502

Please sign in to comment.