Updated slug for url
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
58321f3491
commit
377f27b16f
@ -97,7 +97,7 @@ QString ExportModsToStringTask(QList<Mod*> mods, QString lineTemplate)
|
|||||||
if (meta != nullptr) {
|
if (meta != nullptr) {
|
||||||
url = (meta->provider == ModPlatform::ResourceProvider::FLAME ? "https://www.curseforge.com/minecraft/mc-mods/"
|
url = (meta->provider == ModPlatform::ResourceProvider::FLAME ? "https://www.curseforge.com/minecraft/mc-mods/"
|
||||||
: "https://modrinth.com/mod/") +
|
: "https://modrinth.com/mod/") +
|
||||||
meta->project_id.toString();
|
meta->slug.remove(".pw.toml");
|
||||||
}
|
}
|
||||||
auto ver = mod->version();
|
auto ver = mod->version();
|
||||||
if (ver.isEmpty() && meta != nullptr)
|
if (ver.isEmpty() && meta != nullptr)
|
||||||
|
Loading…
Reference in New Issue
Block a user