fix: implement PR suggestions
Some stylistic changes, and get hashes from the mod providers when building the metadata.
This commit is contained in:
@ -30,7 +30,7 @@ auto V1::createModFormat(QDir& index_dir, ModPlatform::IndexedPack& mod_pack, Mo
|
||||
|
||||
mod.url = mod_version.downloadUrl;
|
||||
mod.hash_format = ProviderCaps.hashType(mod_pack.provider);
|
||||
mod.hash = ""; // FIXME
|
||||
mod.hash = mod_version.hash;
|
||||
|
||||
mod.provider = mod_pack.provider;
|
||||
mod.file_id = mod_pack.addonId;
|
||||
|
Reference in New Issue
Block a user