From 3915851507b7f34d3ac70274b7f5e1da729d31c3 Mon Sep 17 00:00:00 2001 From: rtfmkiesel <79413747+rtfmkiesel@users.noreply.github.com> Date: Mon, 8 May 2023 18:02:55 +0200 Subject: [PATCH] added note regarding fallback --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 730ae9d..de70080 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ Options: -v Print verbose messages (default: false) -h Shows this text ``` +**Warning:** This project is not affiliated with the [LOLDrivers](https://github.com/magicsword-io/LOLDrivers) repository. JSON structure changes in the LOLDrivers API may break this client. Since this clients gets compiled with a working data set, it will fall back to the internal data set, if the parsing of the online data or the local file was not successful. + ## Installation ### Binaries Download the prebuilt binaries [here](https://github.com/rtfmkiesel/loldrivers-client/releases). @@ -25,7 +27,6 @@ Download the prebuilt binaries [here](https://github.com/rtfmkiesel/loldrivers-c ```bash git clone https://github.com/rtfmkiesel/loldrivers-client cd loldrivers-client -wget -q "https://www.loldrivers.io/api/drivers.json" -O pkg/loldrivers/drivers.json go mod tidy go build -o LOLDrivers-client.exe -ldflags="-s -w" cli/loldrivers-client/loldrivers-client.go ```