Merge commit '175b90be5a42e5bfd3289ffdfbf7b201404f82a8' into beta

This commit is contained in:
2025-07-28 22:49:16 +03:00
47 changed files with 1186 additions and 297 deletions

View File

@@ -422,7 +422,7 @@ pub async fn install_minecraft(
pub async fn read_protocol_version_from_jar(
path: PathBuf,
) -> crate::Result<Option<i32>> {
) -> crate::Result<Option<u32>> {
let zip = async_zip::tokio::read::fs::ZipFileReader::new(path).await?;
let Some(entry_index) = zip
.file()
@@ -435,7 +435,7 @@ pub async fn read_protocol_version_from_jar(
#[derive(Deserialize, Debug)]
struct VersionData {
protocol_version: Option<i32>,
protocol_version: Option<u32>,
}
let mut data = vec![];