diff --git a/Cargo.lock b/Cargo.lock index 435fca2..6fd45b8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -353,7 +353,7 @@ dependencies = [ [[package]] name = "nicotine" -version = "0.1.13" +version = "0.1.14" dependencies = [ "zip-extract", ] diff --git a/Cargo.toml b/Cargo.toml index 2672136..fff7d09 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nicotine" -version = "0.1.13" +version = "0.1.14" edition = "2024" description = "A small rust crate for patching mojang's Authlib" authors = ["alterwain"] diff --git a/src/lib.rs b/src/lib.rs index 6480bac..a94ae73 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -81,7 +81,7 @@ fn zip_dir( .arg("-tzip") .arg("-mx=0") .arg(writer) - .arg([src_dir.to_str().unwrap(), "/", "*"].concat()) + .arg([src_dir.to_str().unwrap(), "\\", "*"].concat()) .spawn()?; a.wait()?; Ok(())