minecraft-launcher-libs/README.md

37 lines
811 B
Markdown

# Parse `version.json` file and return libraries list
[Russian](README.ru.md) |
[English](README.md)
**About:**
Utility for parse Minecraft JE game version file (`version.json`).
**How to use:**
```
Minecraft Libraries List Generator
Usage:
mc-libs-string <system> <version.json>
<system> - w|l|x (windows or linux or osx)
Other:
mc-libs-string i <version.json> - to get version 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.
**Example for
[1.20.1](https://piston-meta.mojang.com/v1/packages/715ccf3330885e75b205124f09f8712542cbe7e0/1.20.1.json)
version:**
```sh
./mc-libs-string ./1.20.1.json x
```