mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-14 06:54:32 +02:00
Add description field for Modrinth exports
This commit is contained in:
11
core/pack.go
11
core/pack.go
@@ -15,11 +15,12 @@ import (
|
||||
|
||||
// Pack stores the modpack metadata, usually in pack.toml
|
||||
type Pack struct {
|
||||
Name string `toml:"name"`
|
||||
Author string `toml:"author,omitempty"`
|
||||
Version string `toml:"version,omitempty"`
|
||||
PackFormat string `toml:"pack-format"`
|
||||
Index struct {
|
||||
Name string `toml:"name"`
|
||||
Author string `toml:"author,omitempty"`
|
||||
Version string `toml:"version,omitempty"`
|
||||
Description string `toml:"description,omitempty"`
|
||||
PackFormat string `toml:"pack-format"`
|
||||
Index struct {
|
||||
// Path is stored in forward slash format relative to pack.toml
|
||||
File string `toml:"file"`
|
||||
HashFormat string `toml:"hash-format"`
|
||||
|
Reference in New Issue
Block a user