mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Reimplemented website readme features
This commit is contained in:
parent
2b8474dd33
commit
6962b4873c
@ -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))
|
||||
|
@ -32,8 +32,7 @@ namespace Wabbajack.Lib
|
||||
|
||||
},
|
||||
};
|
||||
// DISABLED FOR THIS RELEASE
|
||||
//Config.VersionTolerance.Mode = VersionToleranceMode.Standard;
|
||||
Config.VersionTolerance.Mode = VersionToleranceMode.Standard;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user