remove extras toogle from ui

This commit is contained in:
2024-06-20 22:37:54 +02:00
parent 3be25d7070
commit ee46f7272e
5 changed files with 1 additions and 32 deletions

View File

@@ -42,10 +42,7 @@ public class ModpackInstaller(ModpackConfig updateConfig, ModpackInfo modpackInf
InstallInfos installInfos = null;
UpdateInfos updateInfos = null;
var hasConfig = modpackInfo.Exists;
var result = new UpdateCheckResult
{
HasExtras = options.IncludeExtraActions
};
var result = new UpdateCheckResult();
if (updateConfig.Maintenance && !options.IgnoreMaintenance)
{
@@ -177,7 +174,6 @@ public class ModpackInstaller(ModpackConfig updateConfig, ModpackInfo modpackInf
// Save new modpack info
modpackInfo.Version = checkResult.LatestVersion;
modpackInfo.ConfigUrl = updateConfig.ConfigUrl;
modpackInfo.IncludeExtras = checkResult.HasExtras;
modpackInfo.Save();
// Delete cached zip files