mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 13:06:30 +02:00
fix: use mod.title instead of slug
This commit is contained in:
parent
715e9439a1
commit
8c97b3e73b
@ -224,11 +224,7 @@ func installVersion(mod Mod, version ModReleases, pack core.Pack) error {
|
||||
if folder == "" {
|
||||
folder = "mods"
|
||||
}
|
||||
if mod.Slug != "" {
|
||||
path = modMeta.SetMetaPath(filepath.Join(viper.GetString("meta-folder-base"), folder, mod.Slug+core.MetaExtension))
|
||||
} else {
|
||||
path = modMeta.SetMetaPath(filepath.Join(viper.GetString("meta-folder-base"), folder, mod.Title+core.MetaExtension))
|
||||
}
|
||||
path = modMeta.SetMetaPath(filepath.Join(viper.GetString("meta-folder-base"), folder, mod.Title+core.MetaExtension))
|
||||
|
||||
// If the file already exists, this will overwrite it!!!
|
||||
// TODO: Should this be improved?
|
||||
|
Loading…
x
Reference in New Issue
Block a user