示例#1
0
        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);
        }
示例#2
0
        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();
        }