From 1b0ae5a17a9700ff9cfba0512e7545d7d1b2c2ac Mon Sep 17 00:00:00 2001 From: endernon Date: Sun, 15 Dec 2024 17:29:52 +0000 Subject: [PATCH] properly update everything for 0.4.2: proper lib --- Cargo.lock | 2 +- Cargo.toml | 2 +- readme.md | 2 +- src/main.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dda7c12..d4fe393 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -171,7 +171,7 @@ dependencies = [ [[package]] name = "rpfixer" -version = "0.4.2" +version = "0.4.3" dependencies = [ "adler", "clap", diff --git a/Cargo.toml b/Cargo.toml index fe1e96b..68bcb4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ license = "MIT" authors = ["endernon"] repository = "https://git.frfrnocap.men/endernon/rpfixer" readme = "readme.md" -version = "0.4.2" +version = "0.4.3" edition = "2021" [dependencies] diff --git a/readme.md b/readme.md index b35dca0..44d4c9f 100644 --- a/readme.md +++ b/readme.md @@ -29,7 +29,7 @@ This tool will not overcome any protection to the zip archive itself. See a prog use std::fs; fn main() { let frfr: Vec = fs::read("filepath.png").expect("wtf the path doesnt exist"); - let mut fr: Vec = rpfixer::idk::fix(frfr); + let mut fr: Vec = rpfixer::fix(frfr); fs::write("filepath.png", fr).expect("file could not write btw"); } ``` diff --git a/src/main.rs b/src/main.rs index 22d916f..eebecbe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -76,7 +76,7 @@ fn main() { for thatpath in filelist { println!("Filename: {:?}", thatpath); let frfr = read(thatpath.to_owned()).expect("wtf the path doesnt exist"); - let mut fr = idk::fix(frfr); + let mut fr = lib::fix(frfr); write(thatpath, fr).expect("file could not write btw"); } }