mirror of
https://github.com/packwiz/packwiz.git
synced 2025-11-19 01:24:32 +01:00
Add pack-root option (fixes #27)
This commit is contained in:
@@ -71,8 +71,8 @@ func LoadMod(modFile string) (Mod, error) {
|
||||
}
|
||||
|
||||
// SetMetaName sets the mod metadata file from a given file name (to be put in the mods folder)
|
||||
func (m *Mod) SetMetaName(metaName string) string {
|
||||
m.metaFile = ResolveMod(metaName)
|
||||
func (m *Mod) SetMetaName(metaName string, index Index) string {
|
||||
m.metaFile = ResolveMod(metaName, index)
|
||||
return m.metaFile
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user