forked from addonscript/addonscript-spec
Make file hashes more scalable
This commit is contained in:
parent
2a3d340b20
commit
123f62e1c2
1 changed files with 9 additions and 3 deletions
|
@ -7,8 +7,10 @@
|
|||
"flags": [],
|
||||
"maven": {},
|
||||
"install": [],
|
||||
"hashes": {
|
||||
"sha1": "somesha1checksum"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Required properties
|
||||
|
@ -41,9 +43,13 @@ The order in the array corresponds to the order in which the installation steps
|
|||
This is an array of [flags](../concepts/flags.md) for this file. If this property is not present in a file object, the file will
|
||||
inherit the [side flags](../concepts/flags.md#side-flags) from the [version](addon.md) and have the `required` flag set by default.
|
||||
|
||||
### sha1
|
||||
### hashes
|
||||
|
||||
This is the sha1 checksum of the file. Although the checksum is optional, it is strongly recommended.
|
||||
This is an object with checksums for this file. The object contains key-value-pairs where the key is the hash algorithm and the
|
||||
value is the checksum.
|
||||
|
||||
Supported hash algorithms:
|
||||
- `sha1`
|
||||
|
||||
### maven
|
||||
|
||||
|
|
Loading…
Reference in a new issue