public static void Main(string[] args) { retry: if (!File.Exists("Core.dll")) { Console.WriteLine("Core library could not be found.\nWould you like to manually download the file?\n(Y/N): "); string command = ""; while (!IsYesOrNo(command = Console.ReadLine())) { Console.Clear(); Console.WriteLine("Core library could not be found.\nWould you like to manually download the file?\n(Y/N): "); } if (command.Equals("y", StringComparison.OrdinalIgnoreCase)) { Console.WriteLine("Downloading the latest core library..."); goto retry; } } if (OnlineMode && CheckForLatestRevision()) { DownloadLatestRevision(); } Starter.Main(); }
static void Main(string[] args) { Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); Starter.Main(args); }
static void Main(string[] args) { Starter.Main(args); }