Skip to content

Commit

Permalink
Release 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
PeratX committed Feb 12, 2021
1 parent 3f05d84 commit d866003
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
## 获取`mcl-installer`

1. 前往 [Release](https://github.com/iTXTech/mcl-installer/releases) 选择对应操作系统和架构下载可执行文件
2. 文件命名格式为 `mcl-installer-版本-操作系统-架构`,例如`mcl-installer-1.0.0-windows-x86.exe``mcl-installer-1.0.0-linux-amd64`
`mcl-installer-1.0.0-macos-amd64`
2. 文件命名格式为 `mcl-installer-版本-操作系统-架构`,例如`mcl-installer-1.0.2-windows-x86.exe``mcl-installer-1.0.2-linux-amd64`
`mcl-installer-1.0.2-macos-amd64`
2. 运行 `mcl-installer`

### `Linux``macOS`为例

```bash
$ cd 你想要安装 iTXTech MCL 的目录
$ curl -LJO https://github.com/iTXTech/mcl-installer/releases/download/v1.0.0/mcl-installer-1.0.0-linux-amd64 # 如果是macOS,就将链接中的 linux 修改为 macos
$ chmod +x mcl-installer-1.0.0-linux-amd64
$ ./mcl-installer-1.0.0-linux-amd64
$ curl -LJO https://github.com/iTXTech/mcl-installer/releases/download/v1.0.0/mcl-installer-1.0.2-linux-amd64 # 如果是macOS,就将链接中的 linux 修改为 macos
$ chmod +x mcl-installer-1.0.2-linux-amd64
$ ./mcl-installer-1.0.2-linux-amd64
```

### `Windows`为例
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use zip::ZipArchive;

const MIRAI_REPO: &'static str = "https://gitee.com/peratx/mirai-repo/raw/master";

const PROG_VERSION: &'static str = "1.0.1";
const PROG_VERSION: &'static str = "1.0.2";

fn get_os() -> &'static str {
#[cfg(target_os = "windows")] return "windows";
Expand Down

0 comments on commit d866003

Please sign in to comment.