transfer file from one zip to another, WIP (z64 broken)
This commit is contained in:
parent
8157325a02
commit
26b18bab76
4 changed files with 19 additions and 4 deletions
|
|
@ -37,8 +37,8 @@ fn main() {
|
|||
println!("{:#?}", zip_file.get_file_info("classes.dex"));
|
||||
*/
|
||||
|
||||
let file = File::open("app-release.apk").expect("failed to open file");
|
||||
let out_file = File::create("app-release.out.zip").expect("failed to create file");
|
||||
let file = File::open("tst_64.zip").expect("failed to open file");
|
||||
let out_file = File::create("tst_64.out.zip").expect("failed to create file");
|
||||
let mut zip_file = ZipFileReader::new(file);
|
||||
let mut out_file =
|
||||
ZipFileWriter::new(out_file, zip_file.zip64_end_of_central_directory.clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue