properly update everything for 0.4.2: proper lib
This commit is contained in:
parent
66b182f5d5
commit
1b0ae5a17a
4 changed files with 4 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -171,7 +171,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rpfixer"
|
name = "rpfixer"
|
||||||
version = "0.4.2"
|
version = "0.4.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"adler",
|
"adler",
|
||||||
"clap",
|
"clap",
|
||||||
|
|
|
@ -5,7 +5,7 @@ license = "MIT"
|
||||||
authors = ["endernon"]
|
authors = ["endernon"]
|
||||||
repository = "https://git.frfrnocap.men/endernon/rpfixer"
|
repository = "https://git.frfrnocap.men/endernon/rpfixer"
|
||||||
readme = "readme.md"
|
readme = "readme.md"
|
||||||
version = "0.4.2"
|
version = "0.4.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -29,7 +29,7 @@ This tool will not overcome any protection to the zip archive itself. See a prog
|
||||||
use std::fs;
|
use std::fs;
|
||||||
fn main() {
|
fn main() {
|
||||||
let frfr: Vec<u8> = fs::read("filepath.png").expect("wtf the path doesnt exist");
|
let frfr: Vec<u8> = fs::read("filepath.png").expect("wtf the path doesnt exist");
|
||||||
let mut fr: Vec<u8> = rpfixer::idk::fix(frfr);
|
let mut fr: Vec<u8> = rpfixer::fix(frfr);
|
||||||
fs::write("filepath.png", fr).expect("file could not write btw");
|
fs::write("filepath.png", fr).expect("file could not write btw");
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
@ -76,7 +76,7 @@ fn main() {
|
||||||
for thatpath in filelist {
|
for thatpath in filelist {
|
||||||
println!("Filename: {:?}", thatpath);
|
println!("Filename: {:?}", thatpath);
|
||||||
let frfr = read(thatpath.to_owned()).expect("wtf the path doesnt exist");
|
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");
|
write(thatpath, fr).expect("file could not write btw");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue