feat: display license and issue tracker
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
3cfcc83ea9
commit
74e7c13a17
8 changed files with 218 additions and 42 deletions
|
@ -184,7 +184,8 @@ ModDetails ReadMCModTOML(QByteArray contents)
|
|||
} else if (auto licenseDatum =(*modsTable)["license"].as_string()) {
|
||||
license = QString::fromStdString(licenseDatum->get());
|
||||
}
|
||||
details.licenses.push_back(ModLicense(license));
|
||||
if (!license.isEmpty())
|
||||
details.licenses.append(ModLicense(license));
|
||||
|
||||
QString logoFile = "";
|
||||
if (auto logoFileDatum = tomlData["logoFile"].as_string()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue