diff --git a/README.md b/README.md index 4377cbc..3a53d52 100644 --- a/README.md +++ b/README.md @@ -34,19 +34,16 @@ patchset=kpnp_russ ### Installing You can download pre-built binaries from [releases page](https://github.com/arabianq/build_msp/releases) -### Installing using cargo -You can install build_msp from crates.io -```cargo install build_msp``` - ### Building -1. Install [Rust Lang](https://www.rust-lang.org/tools/install) +1. Install CMake (if not already installed) 2. Clone this repository (including switch-tools submodule) ```git clone --recursive https://github.com/arabianq/build_msp``` -3. Build the program using Cargo - - ```cd build_msp; cargo build --release``` -4. Done. Now there is a binary in _target/release_ directory +3. Configure the project with CMake + ```cmake .``` +4. Build the project + ```make``` +5. Done. The executable will be in the current directory. ### Notes - **You can install .msp files only with DBI (Duckbill Installer) 772+. [Latest DBI](https://dbi.ultranx.ru/assets/dbi_ru.zip)** diff --git a/README.ru.md b/README.ru.md index 70c83f2..3303d20 100644 --- a/README.ru.md +++ b/README.ru.md @@ -34,19 +34,16 @@ patchset=kpnp_russ ### Установка Вы можете скачать готовые исполняемые файлы со [страницы релизов](https://github.com/arabianq/build_msp/releases) -### Установка с помощью cargo -Вы можете установить build_msp из crates.io -```cargo install build_msp``` - ### Сборка -1. Установите [Rust Lang](https://www.rust-lang.org/tools/install) +1. Установите CMake (если еще не установлен) 2. Клонируйте этот репозиторий (включая субмодуль switch-tools) - ```git clone --recursive https://github.com/arabianq/build_msp``` -3. Запустите сборку с помощью cargo - - ```cd build_msp; cargo build --release``` -4. Готово. Теперь в директории _target/release_ находится исполняемый файл + ```git clone --recursive https://github.com/arabianq/build_msp``` +3. Сконфигурируйте проект с помощью CMake + ```cmake ..``` +4. Соберите проект + ```make``` +5. Готово. Исполняемый файл будет находиться текущей директории. ### Особенности - **Устанавливать .msp файлы можно только с помощью DBI (Duckbill Installer) 772+. [Последняя версия DBI](https://dbi.ultranx.ru/assets/dbi_ru.zip)**