modified: Cargo.toml
This commit is contained in:
parent
259271024e
commit
c5e132a1f0
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -353,7 +353,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nicotine"
|
name = "nicotine"
|
||||||
version = "0.1.12"
|
version = "0.1.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"zip-extract",
|
"zip-extract",
|
||||||
]
|
]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "nicotine"
|
name = "nicotine"
|
||||||
version = "0.1.12"
|
version = "0.1.13"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
description = "A small rust crate for patching mojang's Authlib"
|
description = "A small rust crate for patching mojang's Authlib"
|
||||||
authors = ["alterwain"]
|
authors = ["alterwain"]
|
||||||
|
@ -76,12 +76,13 @@ fn zip_dir(
|
|||||||
src_dir: &Path,
|
src_dir: &Path,
|
||||||
writer: &str,
|
writer: &str,
|
||||||
) -> Result<(), Box<dyn Error + Sync + Send>> {
|
) -> Result<(), Box<dyn Error + Sync + Send>> {
|
||||||
let _a = Command::new("tmp/7za.exe")
|
let mut a = Command::new("tmp/7za.exe")
|
||||||
.arg("a")
|
.arg("a")
|
||||||
.arg("-tzip")
|
.arg("-tzip")
|
||||||
.arg("-mx=0")
|
.arg("-mx=0")
|
||||||
.arg(writer)
|
.arg(writer)
|
||||||
.arg([src_dir.to_str().unwrap(), "/", "*"].concat())
|
.arg([src_dir.to_str().unwrap(), "/", "*"].concat())
|
||||||
.spawn()?;
|
.spawn()?;
|
||||||
|
a.wait()?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user