Skip to content

Commit

Permalink
Add proguard for reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Sep 15, 2024
1 parent 01a78eb commit 110a28a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/apk/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@
int mActivityHandlesConfigFlags;
}

-keepclassmembernames class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream {
private org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream$CurrentEntry entry;
private void closeCopiedEntry(boolean);
private final org.apache.commons.compress.archivers.zip.StreamCompressor streamCompressor;
}

-keepclassmembernames class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream$CurrentEntry {
private boolean hasWritten;
}

-keepclassmembernames class org.apache.commons.compress.archivers.zip.StreamCompressor {
void reset();
}

# main
-keep,allowoptimization public class com.topjohnwu.magisk.signing.SignBoot {
public static void main(java.lang.String[]);
Expand Down

0 comments on commit 110a28a

Please sign in to comment.