migrate settings

This commit is contained in:
2024-06-18 11:17:57 +02:00
parent 0f3e93bfff
commit 40279ba6b9
4 changed files with 55 additions and 70 deletions

View File

@@ -98,9 +98,7 @@ public class ModpackInstaller(ModpackConfig updateConfig, string localPath)
if (ModpackInfo.HasModpackInfo(localPath))
modpackInfo = ModpackInfo.Load(localPath);
else
{
modpackInfo = new ModpackInfo();
}
modpackInfo = new();
foreach (InstallAction iaction in checkResult.Actions)
{