feat: allow trying to use multiple hash types
This commit is contained in:
parent
5c5699bba5
commit
59d628208b
5 changed files with 68 additions and 19 deletions
|
@ -29,7 +29,7 @@ auto V1::createModFormat(QDir& index_dir, ModPlatform::IndexedPack& mod_pack, Mo
|
|||
mod.filename = mod_version.fileName;
|
||||
|
||||
mod.url = mod_version.downloadUrl;
|
||||
mod.hash_format = ProviderCaps.hashType(mod_pack.provider);
|
||||
mod.hash_format = mod_version.hash_type;
|
||||
mod.hash = mod_version.hash;
|
||||
|
||||
mod.provider = mod_pack.provider;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue