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"); } }