feat: add early modrinth pack updating

Still some FIXMEs and TODOs to consider, but the general thing is here!

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-07-08 13:00:44 -03:00
parent 4441b37338
commit 208ed73e59
6 changed files with 185 additions and 26 deletions

View File

@ -43,10 +43,17 @@ public:
return m_instGroup;
}
bool shouldOverride() const { return m_override_existing; }
protected:
void setOverride(bool override) { m_override_existing = override; }
protected: /* data */
SettingsObjectPtr m_globalSettings;
QString m_instName;
QString m_instIcon;
QString m_instGroup;
QString m_stagingPath;
bool m_override_existing = false;
};