Support Modrinth modpack fileSize field and sha512 hash

This commit is contained in:
comp500
2022-05-16 01:15:12 +01:00
parent 9ace015690
commit 2073e4475e
6 changed files with 151 additions and 41 deletions

View File

@@ -18,4 +18,5 @@ type PackFile struct {
Server string `json:"server"`
} `json:"env"`
Downloads []string `json:"downloads"`
FileSize uint32 `json:"fileSize"`
}