Archive: ignore crc32
This commit is contained in:
1 parent
fbafadfd98
commit
c8dab6a88f
2 files changed
+2
No files matched your search
@@ -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'
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user