From 4e687cb3aaa0678da151721ca8548ca2148e2015 Mon Sep 17 00:00:00 2001 From: zkitefly Date: Tue, 9 Jan 2024 15:47:54 +0800 Subject: [PATCH] add data-json --- assets/hmcl/data-json/README.md | 5 ++++ .../dynamic-remote-resources-raw.json | 26 +++++++++++++++++++ .../data-json/dynamic-remote-resources.json | 1 + 3 files changed, 32 insertions(+) create mode 100644 assets/hmcl/data-json/README.md create mode 100644 assets/hmcl/data-json/dynamic-remote-resources-raw.json create mode 100644 assets/hmcl/data-json/dynamic-remote-resources.json diff --git a/assets/hmcl/data-json/README.md b/assets/hmcl/data-json/README.md new file mode 100644 index 0000000..e5a7b55 --- /dev/null +++ b/assets/hmcl/data-json/README.md @@ -0,0 +1,5 @@ +## Note + +If you update data-json, please upload the changes to [HMCL-dev/HMCL-docs - /assets/HMCL/data-json/](https://github.com/HMCL-dev/HMCL-docs/tree/main/assets/hmcl/data-json/), otherwise HMCL will not distribute. + +You can visit this link to check whether the distribution was successful: [docs.hmcl.net/assets/hmcl/data-json/dynamic-remote-resources.json](https://docs.hmcl.net/assets/hmcl/data-json/dynamic-remote-resources.json) \ No newline at end of file diff --git a/assets/hmcl/data-json/dynamic-remote-resources-raw.json b/assets/hmcl/data-json/dynamic-remote-resources-raw.json new file mode 100644 index 0000000..f56cb80 --- /dev/null +++ b/assets/hmcl/data-json/dynamic-remote-resources-raw.json @@ -0,0 +1,26 @@ +{ + "translation": { + "mod_data": { + "1": { + "urls": [ + "https://raw.githubusercontent.com/HMCL-dev/HMCL/javafx/HMCL/src/main/resources/assets/mod_data.txt", + "https://cdn.jsdelivr.net/gh/HMCL-dev/HMCL@javafx/HMCL/src/main/resources/assets/mod_data.txt", + "https://cdn.crashmc.com/https://raw.githubusercontent.com/HMCL-dev/HMCL/javafx/HMCL/src/main/resources/assets/mod_data.txt" + ], + "local_path": "HMCL/src/main/resources/assets/mod_data.txt", + "sha1": "0ae36a65a00b00176358bd6b0d3c8787b3668c23" + } + }, + "modpack_data": { + "1": { + "urls": [ + "https://raw.githubusercontent.com/HMCL-dev/HMCL/javafx/HMCL/src/main/resources/assets/modpack_data.txt", + "https://cdn.jsdelivr.net/gh/HMCL-dev/HMCL@javafx/HMCL/src/main/resources/assets/modpack_data.txt", + "https://cdn.crashmc.com/https://raw.githubusercontent.com/HMCL-dev/HMCL/javafx/HMCL/src/main/resources/assets/modpack_data.txt" + ], + "local_path": "HMCL/src/main/resources/assets/modpack_data.txt", + "sha1": "b0e771db170835e1154da4c21b7417a688836162" + } + } + } +} \ No newline at end of file diff --git a/assets/hmcl/data-json/dynamic-remote-resources.json b/assets/hmcl/data-json/dynamic-remote-resources.json new file mode 100644 index 0000000..85f3014 --- /dev/null +++ b/assets/hmcl/data-json/dynamic-remote-resources.json @@ -0,0 +1 @@ +{"translation":{"mod_data":{"1":{"urls":["https://raw.githubusercontent.com/HMCL-dev/HMCL/javafx/HMCL/src/main/resources/assets/mod_data.txt","https://cdn.jsdelivr.net/gh/HMCL-dev/HMCL@javafx/HMCL/src/main/resources/assets/mod_data.txt","https://cdn.crashmc.com/https://raw.githubusercontent.com/HMCL-dev/HMCL/javafx/HMCL/src/main/resources/assets/mod_data.txt"],"local_path":"HMCL/src/main/resources/assets/mod_data.txt","sha1":"0ae36a65a00b00176358bd6b0d3c8787b3668c23"}},"modpack_data":{"1":{"urls":["https://raw.githubusercontent.com/HMCL-dev/HMCL/javafx/HMCL/src/main/resources/assets/modpack_data.txt","https://cdn.jsdelivr.net/gh/HMCL-dev/HMCL@javafx/HMCL/src/main/resources/assets/modpack_data.txt","https://cdn.crashmc.com/https://raw.githubusercontent.com/HMCL-dev/HMCL/javafx/HMCL/src/main/resources/assets/modpack_data.txt"],"local_path":"HMCL/src/main/resources/assets/modpack_data.txt","sha1":"b0e771db170835e1154da4c21b7417a688836162"}}}} \ No newline at end of file