Browse Source

Merge pull request #68 from zkitefly/dynamic-remote-resources

add data-json
zkitefly-patch-1
zkitefly 11 months ago committed by GitHub
parent
commit
0153c257d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      assets/hmcl/data-json/README.md
  2. 26
      assets/hmcl/data-json/dynamic-remote-resources-raw.json
  3. 1
      assets/hmcl/data-json/dynamic-remote-resources.json

5
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)

26
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"
}
}
}
}

1
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"}}}}
Loading…
Cancel
Save