mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-21 08:54:32 +02:00
Add pack-root option (fixes #27)
This commit is contained in:
@@ -205,9 +205,9 @@ func installVersion(mod Mod, version Version, pack core.Pack) error {
|
||||
}
|
||||
var path string
|
||||
if mod.Slug != "" {
|
||||
path = modMeta.SetMetaName(mod.Slug)
|
||||
path = modMeta.SetMetaName(mod.Slug, index)
|
||||
} else {
|
||||
path = modMeta.SetMetaName(mod.Title)
|
||||
path = modMeta.SetMetaName(mod.Title, index)
|
||||
}
|
||||
|
||||
// If the file already exists, this will overwrite it!!!
|
||||
|
Reference in New Issue
Block a user