Skip to content

Commit

Permalink
Merge pull request #68 from zkitefly/dynamic-remote-resources
Browse files Browse the repository at this point in the history
add data-json
  • Loading branch information
zkitefly authored Jan 9, 2024
2 parents cba49b3 + 4e687cb commit 0153c25
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/hmcl/data-json/README.md
Original file line number Diff line number Diff line change
@@ -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 changes: 26 additions & 0 deletions assets/hmcl/data-json/dynamic-remote-resources-raw.json
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions assets/hmcl/data-json/dynamic-remote-resources.json
Original file line number Diff line number Diff line change
@@ -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"}}}}

0 comments on commit 0153c25

Please sign in to comment.