minecraft-launcher-libs/README.md

38 lines
824 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:
make-libs-string <version.json> <system>
<system> - w|l|x (windows or linux or osx)
Other:
make-libs-string <version.json> i - 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
wget https://piston-meta.mojang.com/v1/packages/715ccf3330885e75b205124f09f8712542cbe7e0/1.20.1.json
[1.20.1]()
version:**
```sh
./make-libs-string ./1.20.1.json x
```