aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-06-22 20:04:06 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-06-22 20:04:23 +0300
commit3c9c39cb890252f94d0c50caa00de5439881d7f6 (patch)
treed9d30cf78c15bafe4b4c79d19415c6897ab68c69
parentda6f846a496f70dd5339ed1bdba35842feaa1286 (diff)
downloadPrismLauncher-3c9c39cb890252f94d0c50caa00de5439881d7f6.tar.gz
PrismLauncher-3c9c39cb890252f94d0c50caa00de5439881d7f6.tar.bz2
PrismLauncher-3c9c39cb890252f94d0c50caa00de5439881d7f6.zip
Updated slug for url
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
-rw-r--r--launcher/modplatform/helpers/ExportModsToStringTask.cpp2
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)