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