added version type to dep update
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
4802f6950e
commit
34294383eb
@ -219,8 +219,10 @@ void ModUpdateDialog::checkCandidates()
|
|||||||
if (dep->pack->provider == ModPlatform::ResourceProvider::FLAME)
|
if (dep->pack->provider == ModPlatform::ResourceProvider::FLAME)
|
||||||
changelog = api.getModFileChangelog(dep->version.addonId.toInt(), dep->version.fileId.toInt());
|
changelog = api.getModFileChangelog(dep->version.addonId.toInt(), dep->version.fileId.toInt());
|
||||||
auto download_task = makeShared<ResourceDownloadTask>(dep->pack, dep->version, m_mod_model);
|
auto download_task = makeShared<ResourceDownloadTask>(dep->pack, dep->version, m_mod_model);
|
||||||
CheckUpdateTask::UpdatableMod updatable = { dep->pack->name, dep->version.hash, "", dep->version.version,
|
CheckUpdateTask::UpdatableMod updatable = {
|
||||||
changelog, dep->pack->provider, download_task };
|
dep->pack->name, dep->version.hash, "", dep->version.version, dep->version.version_type,
|
||||||
|
changelog, dep->pack->provider, download_task
|
||||||
|
};
|
||||||
|
|
||||||
appendMod(updatable, getRequiredBy.value(dep->version.addonId.toString()));
|
appendMod(updatable, getRequiredBy.value(dep->version.addonId.toString()));
|
||||||
m_tasks.insert(updatable.name, updatable.download);
|
m_tasks.insert(updatable.name, updatable.download);
|
||||||
|
Loading…
Reference in New Issue
Block a user