aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/packwiz
diff options
context:
space:
mode:
authorflow <thiagodonato300@gmail.com>2022-04-21 15:45:20 -0300
committerflow <flowlnlnln@gmail.com>2022-05-23 14:43:09 -0300
commite17b6804a7424dd5161662c4ef92972f3311675c (patch)
tree2d6e5268d3ce2499d6e765797c35a4bec7062aa3 /launcher/modplatform/packwiz
parent96e36f060443cbfa6d58df2adca3c8605851b4a3 (diff)
downloadPrismLauncher-e17b6804a7424dd5161662c4ef92972f3311675c.tar.gz
PrismLauncher-e17b6804a7424dd5161662c4ef92972f3311675c.tar.bz2
PrismLauncher-e17b6804a7424dd5161662c4ef92972f3311675c.zip
fix: implement PR suggestions
Some stylistic changes, and get hashes from the mod providers when building the metadata.
Diffstat (limited to 'launcher/modplatform/packwiz')
-rw-r--r--launcher/modplatform/packwiz/Packwiz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/packwiz/Packwiz.cpp b/launcher/modplatform/packwiz/Packwiz.cpp
index 50f87c24..70efc6bd 100644
--- a/launcher/modplatform/packwiz/Packwiz.cpp
+++ b/launcher/modplatform/packwiz/Packwiz.cpp
@@ -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;