public BiendeoCHLib() { Instance = this; WrapperBase.InitializeWrappers(Logger); CloneHeroDefaultFont = null; }
static void Main(string[] args) { var logger = new ManualLogSource("stdout"); logger.LogEvent += LogEvent; LoggingEnabled = false; // The current working directory should be the repository root. WrapperBase.InitializeWrappers(logger); LoggingEnabled = true; var validators = new IValidator[] { new StandaloneVsLauncherValidator(logger), new SourceMapValidator(logger), new WrapperValidator(logger), }; foreach (var validator in validators) { if (!validator.AssertWorkingDirectory()) { Environment.Exit(1); } } foreach (var validator in validators) { validator.Validate(); } }