feat: add links for curseforge mods

NOT DOWNLOAD LINKS! (someone would ask it i'm sure :p)
This commit is contained in:
flow
2022-05-24 12:14:08 -03:00
parent ae2ef324f2
commit c5eb6fe6fb
3 changed files with 26 additions and 1 deletions

View File

@ -41,7 +41,10 @@ class FlameAPI : public NetworkModAPI {
.arg(gameVersionStr);
};
inline auto getModInfoURL(QString& id) const -> QString override { return {}; };
inline auto getModInfoURL(QString& id) const -> QString override
{
return QString("https://api.curseforge.com/v1/mods/%1").arg(id);
};
inline auto getVersionsURL(VersionSearchArgs& args) const -> QString override
{