public static void Main(string[] args) { Console.Title = "TMLPatcher - by convicted tomatophile"; Thread.CurrentThread.Name = "Main"; Patcher = new Patcher(args); PreLoadAssemblies(); Patcher.InitializeConsoleOptions(); Patcher.InitializeProgramOptions(); if (Configuration.ShowIlSpyCmdInstallPrompt) { InstallILSpyCMD(); } if (Configuration.ShowRegistryAdditionPrompt) { AddRegistryContext(); } ConfigurationFile.Save(); if (LightweightLoad) { UnpackModOption.PerformExtraction(args[0]); return; } Patcher.WriteStaticText(false); Patcher.CheckForUndefinedPath(); Patcher.SelectedOptions.ListForOption(Patcher); }
public static void Main(string[] args) { Console.Title = "TMLPatcher - by convicted tomatophile"; Thread.CurrentThread.Name = "Main"; Instance = new Patcher(); ConsoleAPI.Window = Instance; ConsoleAPI.Initialize(); ConsoleAPI.ParseParameters(args); Patcher.InitializeConsoleOptions(); Patcher.InitializeProgramOptions(); if (Configuration.ShowIlSpyCmdInstallPrompt) { InstallILSpyCMD(); } Instance.WriteStaticText(false); Instance.CheckForUndefinedPath(); ConsoleAPI.SelectedOptionSet.ListForOption(); }