Implement updating of multiple mods at once

This commit is contained in:
comp500
2019-06-16 16:51:14 +01:00
parent 06c5b08813
commit 3a0f083da2
2 changed files with 110 additions and 3 deletions

View File

@@ -91,3 +91,8 @@ func (m Mod) GetParsedUpdateData(updaterName string) (interface{}, bool) {
upd, ok := m.updateData[updaterName]
return upd, ok
}
// GetFilePath is a clumsy hack that I made because Mod already stores it's path anyway
func (m Mod) GetFilePath() string {
return m.metaFile
}