Compare commits

...

1 Commits

Author SHA1 Message Date
Timo Ley 2949623607 rename link to src 2023-10-11 14:40:50 +02:00
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
```json ```json
{ {
"link": ["https://example.com/file.jar"], "src": ["https://example.com/file.jar"],
"hashes": { "hashes": {
"sha1": "somesha1checksum" "sha1": "somesha1checksum"
}, },
@ -14,7 +14,7 @@
## Required properties ## Required properties
### link ### src
This is an array of [links](../concepts/links.md), which are pointing to the actual file. These MUST be a http(s) links. This is an array of [links](../concepts/links.md), which are pointing to the actual file. These MUST be a http(s) links.
All of these links MUST have the same file type. All of these links MUST have the same file type.

View File

@ -3,7 +3,7 @@
```json ```json
{ {
"qualifier": "modfile", "qualifier": "modfile",
"link": ["https://example.com/mymod.jar", "./mymod.jar"], "src": ["https://example.com/mymod.jar", "./mymod.jar"],
"flags": {}, "flags": {},
"install": [], "install": [],
"hashes": { "hashes": {
@ -22,7 +22,7 @@ It MUST only contains lowercase alphanumeric characters and hyphens and SHOULD b
The qualifier has to be unique to this addon version. The namespace, addon ID, version and qualifier The qualifier has to be unique to this addon version. The namespace, addon ID, version and qualifier
can together be used to uniquely identify a file. can together be used to uniquely identify a file.
### link ### src
This is an array of [links](../concepts/links.md), which are pointing to the actual file. All of these links must This is an array of [links](../concepts/links.md), which are pointing to the actual file. All of these links must
have the same file type. Since AddonScript treats directories and zip files equally, have the same file type. Since AddonScript treats directories and zip files equally,