mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-01-10 04:19:38 +02:00
Merge branch 'bugfix/modupload' into Feature/update-everything
This commit is contained in:
commit
89a756e5d2
@ -77,6 +77,13 @@ func (modInfoList *ModInfoList) listInstalledMods() error {
|
||||
var baseDependency string
|
||||
for _, dependency := range modInfo.Dependencies {
|
||||
if strings.HasPrefix(dependency, "base") {
|
||||
splittedDep := strings.Split(dependency, "=")
|
||||
|
||||
if len(splittedDep) == 1 {
|
||||
log.Printf("basemod without version specified!")
|
||||
break
|
||||
}
|
||||
|
||||
baseDependency = strings.Split(dependency, "=")[1]
|
||||
break
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user