Reimplemented website readme features

This commit is contained in:
Justin Swanson 2019-12-27 15:20:27 -06:00
parent 2b8474dd33
commit 6962b4873c
4 changed files with 4 additions and 9 deletions

View File

@ -95,10 +95,8 @@ namespace Wabbajack.Lib
ModList.Readme = $"readme{readme.Extension}";
}
// DISABLED FOR THIS RELEASE
//ModList.ReadmeIsWebsite = ReadmeIsWebsite;
ModList.ReadmeIsWebsite = ReadmeIsWebsite;
//ModList.ToJSON(Path.Combine(ModListOutputFolder, "modlist.json"));
ModList.ToCERAS(Path.Combine(ModListOutputFolder, "modlist"), CerasConfig.Config);
if (File.Exists(ModListOutputFile))

View File

@ -32,8 +32,7 @@ namespace Wabbajack.Lib
},
};
// DISABLED FOR THIS RELEASE
//Config.VersionTolerance.Mode = VersionToleranceMode.Standard;
Config.VersionTolerance.Mode = VersionToleranceMode.Standard;
}
}
}

View File

@ -119,8 +119,7 @@ namespace Wabbajack.Lib
/// <summary>
/// Whether readme is a website
/// </summary>
/// DISABLED FOR THIS RELEASE
//public bool ReadmeIsWebsite;
public bool ReadmeIsWebsite;
}
public class Directive

View File

@ -87,8 +87,7 @@ namespace Wabbajack
public void OpenReadmeWindow()
{
if (string.IsNullOrEmpty(Readme)) return;
// DISABLED FOR THIS RELEASE
if (false) // SourceModList.ReadmeIsWebsite)
if (SourceModList.ReadmeIsWebsite)
{
Process.Start(Readme);
}