From 818065e4e38a65975b5baa259b8855fca2d01c05 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 28 Aug 2022 22:16:52 +0300 Subject: [PATCH] English guide --- README.md | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c0c5d5d..5303f8e 100644 --- a/README.md +++ b/README.md @@ -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 + + - w|l|x (windows or linux or osx) + +Other: + make-libs-string s - to get info +``` + +Utility has two required arguments, +`` and ``. + +* `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 +```