diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-22 20:04:06 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-22 20:04:06 +0300 |
commit | 377f27b16fbd8adb21d4907101d195ef6f3a9e88 (patch) | |
tree | e256a23bbc203dd94f3c50a99d5382f41ba5fad9 | |
parent | 58321f34915bd22ab8a2c195b64af3006d962be9 (diff) | |
download | PrismLauncher-377f27b16fbd8adb21d4907101d195ef6f3a9e88.tar.gz PrismLauncher-377f27b16fbd8adb21d4907101d195ef6f3a9e88.tar.bz2 PrismLauncher-377f27b16fbd8adb21d4907101d195ef6f3a9e88.zip |
Updated slug for url
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
-rw-r--r-- | launcher/modplatform/helpers/ExportModsToStringTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/helpers/ExportModsToStringTask.cpp b/launcher/modplatform/helpers/ExportModsToStringTask.cpp index c10560c1..e7be5ce1 100644 --- a/launcher/modplatform/helpers/ExportModsToStringTask.cpp +++ b/launcher/modplatform/helpers/ExportModsToStringTask.cpp @@ -97,7 +97,7 @@ QString ExportModsToStringTask(QList<Mod*> mods, QString lineTemplate) if (meta != nullptr) { url = (meta->provider == ModPlatform::ResourceProvider::FLAME ? "https://www.curseforge.com/minecraft/mc-mods/" : "https://modrinth.com/mod/") + - meta->project_id.toString(); + meta->slug.remove(".pw.toml"); } auto ver = mod->version(); if (ver.isEmpty() && meta != nullptr) |