Actually write mod files

but aaa it doesn't use the struct tags properly so things are bad
This commit is contained in:
comp500
2019-05-11 14:32:14 +01:00
parent 3fdac51d22
commit ef98591d02
4 changed files with 100 additions and 36 deletions

View File

@@ -188,6 +188,7 @@ type modFileInfo struct {
Length int `json:"fileLength"`
FileType int `json:"releaseType"`
// fileStatus? means latest/preferred?
DownloadURL string `json:"downloadUrl"`
GameVersions []string `json:"gameVersion"`
Fingerprint int `json:"packageFingerprint"`
Dependencies []struct {