5f2e60a9e2
* feat: use mod version targets * chore: lint * chore: remove unused * chore: target dev on ci * fix: rename WindowsNoEditor target to Windows fix: close file reader * fix: ensure closure of downloaded mod * fix: ensure all important events are sent * fix: lock adding files to cache --------- Co-authored-by: mircearoata <mircearoatapalade@gmail.com>
19 lines
308 B
Go
19 lines
308 B
Go
package cli
|
|
|
|
type ModVersion struct {
|
|
ID string
|
|
Version string
|
|
Targets map[string]VersionTarget
|
|
Dependencies []VersionDependency
|
|
}
|
|
|
|
type VersionTarget struct {
|
|
Link string
|
|
Hash string
|
|
}
|
|
|
|
type VersionDependency struct {
|
|
ModReference string
|
|
Constraint string
|
|
Optional bool
|
|
}
|