mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-14 15:04:32 +02:00
Add update logic for single mods
This commit is contained in:
@@ -281,8 +281,8 @@ func (u cfUpdater) DoUpdate(mods []*core.Mod, cachedState []interface{}) error {
|
||||
Hash: strconv.Itoa(modState.fileInfo.Fingerprint),
|
||||
}
|
||||
|
||||
v.Update["curseforge"]["ProjectID"] = modState.ID
|
||||
v.Update["curseforge"]["FileID"] = modState.fileInfo.ID
|
||||
v.Update["curseforge"]["project-id"] = modState.ID
|
||||
v.Update["curseforge"]["file-id"] = modState.fileInfo.ID
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user