Import author/version metadata from CurseForge packs

This commit is contained in:
comp500
2022-02-10 16:32:55 +00:00
parent f41235b04c
commit 226a376be9
4 changed files with 21 additions and 2 deletions

View File

@@ -154,8 +154,9 @@ var importCmd = &cobra.Command{
}
pack = core.Pack{
Name: packImport.Name(),
// TODO: author, version?
Name: packImport.Name(),
Author: packImport.PackAuthor(),
Version: packImport.PackVersion(),
PackFormat: core.CurrentPackFormat,
Index: struct {
File string `toml:"file"`