Archive: ignore crc32

This commit is contained in:
tarsin committed 2022-08-07 11:43:27 +08:00
1 parent fbafadfd98
commit c8dab6a88f
2 files changed
+2

No files matched your search

+1
View File
@@ -169,4 +169,5 @@ dependencies {
configurations.all {
exclude group: 'dev.rikka.rikkax.appcompat', module: 'appcompat'
exclude group: 'dev.rikka.rikkax.material', module: 'material'
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk7'
}
+1
View File
@@ -91,6 +91,7 @@ static int archive_alloc() {
arc = archive_read_new();
archive_read_support_format_all(arc);
archive_read_support_filter_all(arc);
archive_read_set_option(arc, "zip", "ignorecrc32", "1");
if (passwd)
archive_read_add_passphrase(arc, passwd);
return archive_read_open_memory(arc, archiveAddr, archiveSize);