Skip to content

Commit

Permalink
release 1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
PeratX committed May 22, 2022
1 parent d5a51f8 commit d767921
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`为例
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit d767921

Please sign in to comment.