GH-5146 mrpack exporter: add option to treat disabled files as optional

This commit is contained in:
arthomnix
2023-05-23 20:51:48 +01:00
parent bd95c3ea33
commit 574571b51b
4 changed files with 40 additions and 5 deletions

View File

@@ -26,6 +26,7 @@ struct ExportSettings
bool includeModConfigs;
bool includeResourcePacks;
bool includeShaderPacks;
bool treatDisabledAsOptional;
QString datapacksPath;
QString gameVersion;
@@ -44,6 +45,7 @@ struct ExportFile
QString sha1;
QString download;
qint64 fileSize;
bool optional = false;
};
class InstanceExportTask : public Task