From d767921a0d102873d9d1c224fafeb82a4180cc0f Mon Sep 17 00:00:00 2001 From: PeratX Date: Sun, 22 May 2022 09:43:57 +0800 Subject: [PATCH] release 1.0.7 --- README.md | 8 +++++--- src/main.rs | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5718eb1..86178de 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,13 @@ ### 以`Linux`和`macOS`为例 +**请优先选择以`musl`结尾的二进制文件,无外部依赖,兼容性更好。** + ```bash cd 你想要安装 iTXTech MCL 的目录 -curl -LJO https://github.com/iTXTech/mcl-installer/releases/download/v1.0.6/mcl-installer-1.0.6-linux-amd64 # 如果是macOS,就将链接中的 linux 修改为 macos -chmod +x mcl-installer-1.0.6-linux-amd64 -./mcl-installer-1.0.6-linux-amd64 +curl -LJO https://github.com/iTXTech/mcl-installer/releases/download/v1.0.6/mcl-installer-1.0.7-linux-amd64-musl # 如果是macOS,就将链接中的 linux 修改为 macos +chmod +x mcl-installer-1.0.7-linux-amd64-musl +./mcl-installer-1.0.7-linux-amd64 ``` ### 以`Windows`为例 diff --git a/src/main.rs b/src/main.rs index 31f20a6..d26b300 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,9 +15,9 @@ use reqwest::{Client, Error, Response}; use serde::Deserialize; use zip::ZipArchive; -const MIRAI_REPO: &str = "repo.itxtech.org"; +const MIRAI_REPO: &str = "mirai.mamoe.net/assets/mcl"; -const PROG_VERSION: &str = "1.0.6"; +const PROG_VERSION: &str = "1.0.7"; fn get_os() -> &'static str { #[cfg(target_os = "windows")]