feat: add parser for current impl of packwiz mod.toml

This reads a local mod.toml file and extract information from it. Using
C libs in C++ is kind of a pain tho :(
This commit is contained in:
flow
2022-04-13 21:25:08 -03:00
committed by flow
parent eaa5ce4467
commit 8e4438b375
3 changed files with 96 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class ProviderCapabilities {
}
return "";
}
static QString providerName(Provider p)
static const char* providerName(Provider p)
{
switch(p){
case Provider::MODRINTH: