2022-08-28 22:16:52 +03:00
|
|
|
# Parse `version.json` file and return libs
|
2022-08-28 22:09:37 +03:00
|
|
|
|
|
|
|
## English
|
|
|
|
|
|
|
|
**About:**
|
|
|
|
|
2022-08-28 22:16:52 +03:00
|
|
|
Utility parse Minecraft JE game version file (`version.json`) and returns
|
|
|
|
libraries list for specified operation system.
|
|
|
|
|
2022-08-28 22:29:08 +03:00
|
|
|
**How to build from source:**
|
|
|
|
|
|
|
|
```sh
|
|
|
|
conan install .
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
2022-08-28 22:09:37 +03:00
|
|
|
**How to use:**
|
|
|
|
|
2022-08-28 22:16:52 +03:00
|
|
|
```
|
|
|
|
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
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2022-08-28 22:09:37 +03:00
|
|
|
## Русский
|
|
|
|
|
|
|
|
**Описание:**
|
|
|
|
|
|
|
|
Утилита парсит файл версий (`version.json`) Minecraft JE и возвращает
|
|
|
|
список библиотек для указанной операционной системы.
|
|
|
|
|
2022-08-28 22:29:08 +03:00
|
|
|
**Как скомпилировать:**
|
|
|
|
|
|
|
|
```sh
|
|
|
|
conan install .
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
2022-08-28 22:09:37 +03:00
|
|
|
**Как использовать:**
|
|
|
|
|
|
|
|
```
|
|
|
|
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
|
|
|
|
```
|
|
|
|
|
|
|
|
Программа имеет два обязательных аргумента,
|
|
|
|
`<version.json>` и `<system>`.
|
|
|
|
|
|
|
|
* `version.json` - принимает путь к файлу
|
|
|
|
* `system` - принимает одно из трёх значений `w` `l` `x`, буква которых соответствует одной из операционных систем.
|
2022-08-28 22:16:52 +03:00
|
|
|
|
|
|
|
Пример _**version.json**_ для версии 1.19.2.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
wget https://piston-meta.mojang.com/v1/packages/68cded4616fba9fbefb3f895033c261126c5f89c/1.19.2.json
|
|
|
|
```
|