English guide

This commit is contained in:
Alexander Popov 2022-08-28 22:16:52 +03:00
parent 8164936b7f
commit 818065e4e3
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C
1 changed files with 35 additions and 5 deletions

View File

@ -1,11 +1,39 @@
Parse `version.json` file and return libs
# Parse `version.json` file and return libs
## English
**About:**
Utility parse Minecraft JE game version file (`version.json`) and returns
libraries list for specified operation system.
**How to use:**
```
Minecraft Libraries List Generator
Usage:
make-libs-string <version.json> <system>
<system> - w|l|x (windows or linux or osx)
Other:
make-libs-string <version.json> s - to get info
```
Utility has two required arguments,
`<version.json>` and `<system>`.
* `version.json` - takes the path to the file.
* `system` - takes one of three values `w` `l` `x`, the letter of which corresponds to one of the operating systems.
_**version.json**_ example for 1.19.2 version.
```sh
wget https://piston-meta.mojang.com/v1/packages/68cded4616fba9fbefb3f895033c261126c5f89c/1.19.2.json
```
## Русский
**Описание:**
@ -13,10 +41,6 @@ Parse `version.json` file and return libs
Утилита парсит файл версий (`version.json`) Minecraft JE и возвращает
список библиотек для указанной операционной системы.
```
https://piston-meta.mojang.com/v1/packages/68cded4616fba9fbefb3f895033c261126c5f89c/1.19.2.json
```
**Как использовать:**
```
@ -36,3 +60,9 @@ Other:
* `version.json` - принимает путь к файлу
* `system` - принимает одно из трёх значений `w` `l` `x`, буква которых соответствует одной из операционных систем.
Пример _**version.json**_ для версии 1.19.2.
```sh
wget https://piston-meta.mojang.com/v1/packages/68cded4616fba9fbefb3f895033c261126c5f89c/1.19.2.json
```