Add pack-root option (fixes #27)

This commit is contained in:
comp500
2021-06-04 02:10:29 +01:00
parent d6bed7ad4c
commit 8cbe7d4c61
7 changed files with 26 additions and 15 deletions

View File

@@ -187,7 +187,7 @@ func createModFile(modInfo modInfo, fileInfo modFileInfo, index *core.Index) err
},
Update: updateMap,
}
path := modMeta.SetMetaName(modInfo.Slug)
path := modMeta.SetMetaName(modInfo.Slug, *index)
// If the file already exists, this will overwrite it!!!
// TODO: Should this be improved?