From c104796c7cbd425f128823268f39a8136fc51fac Mon Sep 17 00:00:00 2001 From: alterwain Date: Wed, 19 Mar 2025 20:26:42 +0300 Subject: [PATCH] modified: Cargo.lock modified: Cargo.toml modified: src/lib.rs --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9854a57..769c549 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -353,7 +353,7 @@ dependencies = [ [[package]] name = "nicotine" -version = "0.1.20" +version = "0.1.21" dependencies = [ "zip-extract", ] diff --git a/Cargo.toml b/Cargo.toml index 929a70e..551d017 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nicotine" -version = "0.1.20" +version = "0.1.21" 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 9310598..1482695 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -64,7 +64,7 @@ pub fn patch_jar(input_jar: &str, output_jar: &str, needles: &[&[u8]], endpoints std::fs::write(path, haystack)?; } - std::fs::write(PathBuf::from(r#".\out\com\mojang\authlib\properties\Property.java"#), PROPERTY_BIN)?; + std::fs::write(r#".\out\com\mojang\authlib\properties\Property.java"#, PROPERTY_BIN)?; zip_dir(&target_dir, output_jar)?;